Re: Getting all functions names from source

2012-09-18 Thread Simon Marlow
On 13/09/2012 11:58, Kyle Hanson wrote: What I would like to do is take a source file, and then parse it for function names. What I have come up with so far is to to use the GHC API to get the typedcheckedSource (basically of the Wiki of using GHC as an API) which then I get something that looks

Getting all functions names from source

2012-09-13 Thread Kyle Hanson
What I would like to do is take a source file, and then parse it for function names. What I have come up with so far is to to use the GHC API to get the typedcheckedSource (basically of the Wiki of using GHC as an API) which then I get something that looks like this (in hpaste for readability) ht