
24 May
2011
24 May
'11
1:10 p.m.
On Tue, May 24, 2011 at 6:47 AM, Johannes Waldmann
Evan Laforge
writes: [...] a tool that wanted to traverse deep data structures as produced by haskell-src-exts. [...] I heard uniplate was pretty easy to use, and was pretty pleased to turn the entire thing into a single line.
Please post that line here - J.W.
Getting a bit off subject, and it's nothing special: moduleQNames :: Types.Module -> [Types.Qualification] moduleQNames mod = [Types.qualification m | Haskell.Qual _ m _ <- Uniplate.universeBi mod] But just try writing this without a generics library :)