
Hi all, Is there any function that can be used for retrieving the exposed functions of a given module? Thanks, Rodrigo.

Hi Rodrigo,
Is there any function that can be used for retrieving the exposed functions of a given module?
Not at runtime, but if you are just looking for documentation, there is online documentation here: http://haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html Thanks Neil

On 2008 Jul 11, at 17:23, rodrigo.bonifacio wrote:
Is there any function that can be used for retrieving the exposed functions of a given module?
Not in the usual introspection/RTTI sense; but you could probably use the GHC API to read a .hi file. (At which point I direct you to people clueful about GHC innards, which I'm not.) -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH
participants (3)
-
Brandon S. Allbery KF8NH
-
Neil Mitchell
-
rodrigo.bonifacio