Is it possible to load bindings into ghci

Andreas Marth Andreas-Haskell at gmx.net
Tue Aug 24 07:46:57 EDT 2004


Hi everybody!

At the moment it happens that I use an unfinished program with ghci.
And each time I start GHCi, I have to introduce the same bindings aka
'cont <- readFile "myFile"' ...
Is there a way to define them once in a File and then point GHCi to
it? (I need somme of the functions in the unfinished program so it has
to be after reading the program file.)

Thanks,
Andreas



More information about the Glasgow-haskell-users mailing list