Can I just say thank you for the good error message. I'm sure I have used compilers
(not Haskell) which would tell you that you have a problem but leave you to find where
the two defintions are.
Dominic.
Encode.hs:8:
Ambiguous occurrence `Octet'
It could refer to either
How do I actually use ghc in Windows (98)? When I installed Hugs, my .hs
files got associated with Hugs and if I left-click on a .hs file I have
various options to run with.
We don't do this with GHC.
So do I open a DOS box and invoke ghc or ghci? If so how, what do I have
to change to get
On Mon, 15 Oct 2001, Simon Marlow wrote:
With large projects, ghc runs out of heapspace because of too much
caching.
I think it's more likely that GHC has some space leaks which cause it to
hang on to too much memory between compilations. In theory, it only
caches the contents of
Playing with GHC, I met some oddity.
Consider the example:
import IO
import Concurrent
import Posix
import PosixIO
main = do
(fdIn, fdIn_send) - createPipe
hIn_send - fdToHandle fdIn_send
hIn - fdToHandle fdIn
-- The waiter is a simple tk/tcl script
On Mon, Oct 15, 2001 at 04:47:25PM +0100, Simon Marlow wrote:
I tried this here on Linux/x86 with 5.02 and it seems to work fine.
Instead of the tcl/tk script you mentioned I used a FIFO in /tmp/fifo
and made the runProcess just call cat /tmp/fifo.
Which GHC version and platform is this on?