25 May
2011
25 May
'11
1:10 a.m.
On Tue, May 24, 2011 at 6:47 AM, Johannes Waldmann <waldmann@imn.htwk-leipzig.de> wrote:
Evan Laforge <qdunkan <at> gmail.com> 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 :)