[Haskell-cafe] Getting module functions

2008-07-11 Thread rodrigo.bonifacio
Hi all,

Is there any function that can be used for retrieving the exposed functions of 
a given module?

Thanks,

Rodrigo.

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Getting module functions

2008-07-11 Thread Neil Mitchell
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
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Getting module functions

2008-07-11 Thread Brandon S. Allbery KF8NH


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] [EMAIL PROTECTED]
system administrator [openafs,heimdal,too many hats] [EMAIL PROTECTED]
electrical and computer engineering, carnegie mellon universityKF8NH


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe