[Haskell-cafe] Grabbing list of functions from current module

Joel Reymont joelr1 at gmail.com
Mon Apr 9 09:05:57 EDT 2007


Mea culpa! I meant Template Haskell code :-).

Thanks John!

On Apr 9, 2007, at 2:02 PM, John Meacham wrote:

> sed -ne 's/^ast_\([a-z0-9_A-Z]\+\).*$/("\1",ast_\1)/p'  File.hs
>
> note the two occurances of 'ast_'.

--
http://wagerlabs.com/







More information about the Haskell-Cafe mailing list