Is it possible to load bindings into ghci
Simon Marlow
simonmar at microsoft.com
Wed Aug 25 04:09:40 EDT 2004
On 24 August 2004 12:47, Andreas Marth wrote:
> 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.)
Like the '.' command in /bin/sh? Yes, we ought to have something like
that. I'll get around to it at some point, unless anyone gets there
first.
Cheers,
Simon
More information about the Glasgow-haskell-users
mailing list