Using the std libraries in Ghc(i)

How can I use the std functions (listed in the 'Standard Libraries for Haskell 98' documentation) in ghc(i)? I've read the ghc documentation, and seen the several categories (which can be added with '-package category_name') available, but I still don't know how to access functions like unfoldr, transpose etc... Thanks in advance, J.A.

Hello! On Sun, Nov 04, 2001 at 05:00:41PM +0000, Jorge Adriano wrote:
How can I use the std functions (listed in the 'Standard Libraries for Haskell 98' documentation) in ghc(i)? I've read the ghc documentation, and seen the several categories (which can be added with '-package category_name') available, but I still don't know how to access functions like unfoldr, transpose etc...
Just import the functions. Those -package things are for GHC's *extra* packages which are beyond the scope of the Standard. Kind regards, Hannah.
participants (2)
-
Hannah Schroeter
-
Jorge Adriano