
Oh I also noticed that when I do the following I get a sort of ambiguous
message instead of the usage call.
$ yhc
yhc.exe: Prelude.head: empty list
On 8/22/07, Alexis Morris
Hi all,
I just built a fresh yhc/yhi (after only adding one line to Primitive.hs) and everything seemed fine. I then copied my inst folder to c:\yhcinstall\. When I run "yhc hello.hs" however I get the following:
$ yhc hello.hs Error: File not found, PreludeBuiltin Reason: imported from Prelude Looked in: c:\Documents and Settings\Alexis\Desktop\2007\NXHaskell\current\BCKernel\ c:\yhcinstall\lib\yhc\packages\haskell98\1.0 c:\yhcinstall\lib\yhc\packages\yhc-base\1.0
I'm not sure if this is a bug in the config or is caused by copying. I do have a PreludeBuiltin in my C:/YHC_BASE/version220807/yhc/src/packages/yhc-base-1.0/PreludeBuiltin.hi
I'll see if copying it over helps....nope...copying it seems to cause yhc loop until stack overflow.
$ yhc hello.hs Stack space overflow: current size 8388608 bytes. Use `+RTS -Ksize' to increase it.
Cheers, -- </Alexis>
-- </Alexis>