[Haskell] GHCi and MAC

Marius Nita marius at cs.pdx.edu
Wed Mar 9 15:26:32 EST 2005

On Mar 7, 2005, at 8:52 PM, Jimtopia . wrote:
> Hi
> I am trying to use GHCi for the first time and can't figure out where 
> to put/ how to open and use a module I have created
> If anyone can explain it would be much appriciated.

Hi. If your module is in file foo.hs in the current directory, fire up 
ghci and type

   :l foo

at the ghci prompt (:l is short for :load). Type :? to see a list of 
ghci commands.


> Regards
> Jimmy
> _______________________________________________
> Haskell mailing list
> Haskell at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell

More information about the Haskell mailing list