[Haskell] Silly question on interactive import

Tomasz Zielonka tomasz.zielonka at gmail.com
Wed Dec 14 06:26:47 EST 2005


On Wed, Dec 14, 2005 at 12:03:17PM +0100, Jerzy Karczmarczuk wrote:
> Could you remind me what is the easiest way to load interactively a specific
> module before loading a afile into ghci? For example, I have a file parse.hs
> with some functions such as isUpper, which belongs to the module Char.
> 
> I thought that writing
> 
> :m + Char
> :l parse

Try doing it in reverse order.
:load resets the session, or whatever it is called
:module +/- doesn't

Best regards
Tomasz

-- 
I am searching for a programmer who is good at least in some of
[Haskell, ML, C++, Linux, FreeBSD, math] for work in Warsaw, Poland


More information about the Haskell mailing list