ghci, sourcing
Frederik Eaton
frederik at a5.repetae.net
Tue Jun 6 09:22:27 EDT 2006
Thanks, that's very handy!
But also rather obscure...
Frederik
On Mon, Jun 05, 2006 at 10:26:33PM +0300, wld wrote:
> Hi,
>
> On 6/5/06, Frederik Eaton <frederik at a5.repetae.net> wrote:
> >Hi,
> >
> >Is there a way to source a file in ghci? I have a series of
> >initialization commands which I would like to run every time I do a
> >certain set of experiments, and I've put them in a file. Is it best
> >just to copy and paste the file into ghci?
> >
>
> Please read Chapter 3 of The Glorious Glasgow Haskell Compilation
> System User's Guide!
> Look at Section 3.6 GHCi commands (esp. :def command)
> and 3.8. The .ghci file.
>
> HTH,
> V.Rudenko
> --
> λ is the ultimate
--
http://ofb.net/~frederik/
More information about the Glasgow-haskell-users
mailing list