
5 Jun
2006
5 Jun
'06
3:26 p.m.
Hi,
On 6/5/06, Frederik Eaton
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