Re: Calling Haskell from C

1999-07-07 Thread Kevin Atkinson
Kevin Atkinson wrote: Marcin 'Qrczak' Kowalczyk wrote: Tue, 06 Jul 1999 14:21:11 -0400, Kevin Atkinson [EMAIL PROTECTED] pisze: As I can't build ghc from sources and fix the problem myself, is there any workaround? Why can't you build ghc from source? Because

Re: CVS Version of GHC has problems finding Instances

1999-07-01 Thread Kevin Atkinson
ed tuesday morning. After I commenting out import Eval: Main.hs:63: No instance for `Monad Eval.Eval' arising from use of `elems' at Main.hs:63 ghc-4.02 does not have this problem. Nor does hugs. Simon -Original Message- From: Kevin Atkinson Sent: Monday, June 28, 19

Re: PATCH: unlit.c

1999-06-28 Thread Kevin Atkinson
Kevin Atkinson wrote: I discovered that my problem was that unlit was crashing because stdout does not like to be closed. Anyway this patch fixes the problem. I will let you know how things go now that I solved that problem. Next time I will actually take a look at the core file

Re: PATCH: unlit.c

1999-06-28 Thread Kevin Atkinson
Simon Marlow wrote: Thanks Kevin - I've applied your patch. Should be in tomorrow's CVS. Your welcome. BTW: the ghc perl script could defiantly be dive better error messages. Like saying which program actually crashed instead of just returning nothing but a bad return value. -- Kevin

CVS Version of GHC has problems finding Instances

1999-06-28 Thread Kevin Atkinson
being able to find an instance of Monad for Eval.Eval. If this is not a known problem I have some additional examples I can provide. Just let me known. -- Kevin Atkinson [EMAIL PROTECTED] http://metalab.unc.edu/kevina/

PATCH: unlit.c

1999-06-26 Thread Kevin Atkinson
(ostream); exit(errors==0 ? 0 : 1); } -- Kevin Atkinson [EMAIL PROTECTED] http://metalab.unc.edu/kevina/

UPDATE: CVS compile problems

1999-06-25 Thread Kevin Atkinson
libaspell.a libaspell.so.2@ I am using Redhat 6.0. After looking through the bug archive I realized that I was having the exact same problem that Giuliano P Procida had. Is there a known fix for this problem as commenting out the fflush did not seam to work. -- Kevin Atkinson [EMAIL

Re: UPDATE: CVS compile problems

1999-06-25 Thread Kevin Atkinson
Kevin Atkinson wrote: Ok on the advice of Kirstin S. Reese who said: You are using a new version of glibc, and your newly compiled hsc is crashing. This problem is caused by the call to fflush(stdout) in shutdownHaskell in RtsStartup. The call to fflush is no longer needed. You

CVS compile problems

1999-06-24 Thread Kevin Atkinson
to the parser/Parser_HC_OPTS in order to get parser.lhc to compile (which by the way to over an Hour on my machine to compile which is a Pentium 166MX with 96M of ram) Any help would be greatly appreciated. -- Kevin Atkinson [EMAIL PROTECTED] http://metalab.unc.edu/kevina/

Re: Type Synonym where the kind is not *

1999-06-18 Thread Kevin Atkinson
4.2.2 of the Haskell 98 Report. The latest version of hugs doesn't have any problems with it -- Kevin Atkinson [EMAIL PROTECTED] http://metalab.unc.edu/kevina/ -- Kevin Atkinson [EMAIL PROTECTED] http://metalab.unc.edu/kevina/

Type Synonym where the kind is not *

1999-06-16 Thread Kevin Atkinson
GHC version 4.02, patchlevel 0 does not allow type synonym where the kind is not *. For example it does not allow type List = [] which is given an example in section 4.2.2 of the Haskell 98 Report. The latest version of hugs doesn't have any problems with it -- Kevin Atkinson [EMAIL