Getting all functions names from source
hanooter at gmail.com
Thu Sep 13 12:58:21 CEST 2012
What I would like to do is take a source file, and then parse it for
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)
So my current thinking is that I take this and then parse out the functions
by making a regex.
I was wondering if there might be something undocumented or something for
doing this a bit more simply.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Cvs-ghc