On Thu, Jun 21, 2012 at 2:02 PM, Aai <[email protected]> wrote: > I have > //////////////////////// > f x = x + 1 > > main = print $ f 2 > //////////////////////// > > in a file gedoe.hs > > I can load this in GHCi
Yes. There was a reason I said "interactively". > Prelude> :l ./zandbak/gedoe > [1 of 1] Compiling Main ( zandbak/gedoe.hs, interpreted ) > Ok, modules loaded: Main. Note also the word "Compiling" here. -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
