Is it possible to load bindings into ghci
Tomasz Zielonka
t.zielonka at students.mimuw.edu.pl
Wed Aug 25 11:10:10 EDT 2004
On Wed, Aug 25, 2004 at 04:05:39PM +0200, Andreas Marth wrote:
> Tomasz Z. wrote:
> >Dirty hack - you can put such bindings in ~/.ghci :)
>
> I tried that before posting the mail, but it does not work because the
> .ghci is read before going to the submitted file which contains the
> functions I need. (And ghci discards the bindings.) (I can read the
> contents of a file. Even print it, manipulate it (but only with what
> is supplied with package base). Quit good already!)
You could :load your modules in .ghci, but that would be inconvenient.
> That works great! And you can even put the ":def . readFile" in the
> .ghci File!
>
> Thaks a lot,
> Andreas
Thanks to you too. I wanted such functionality many times before, but it
was after your question that I actually tried to do this :)
Best regards,
Tom
--
.signature: Too many levels of symbolic links
More information about the Glasgow-haskell-users
mailing list