HaskellDirect export confusion

2000-08-03 Thread Victor B. Putz
Not quite sure if this is a bug or my ineptitude, but: Working under Linux, GHC 4.06, etc. I'm trying to export Haskell functions to C; looking at the server example, I was able to get it to run (although you may want to change the MathLib.idl filename to MathLibProxy.idl, or the suffix rules cl

Re: Problem compiling GHC 4.08

2000-08-03 Thread Reuben Thomas
You need to set SRC_HAPPY_OPTS=-a -g -c so that the parser is smaller and easier to compile (otherwise it needs a ridiculous amount of memory). -- http://sc3d.org/rrt/ | plagiarism, n. the mind burgles

Re: ghc on Win32

2000-08-03 Thread Matthias Riese
Hi! I'm using the perl.exe accompanying the installshield package. I'm using the bash from cygwin-b20 as the installation guide says. Is there a better alternative? I assume it works for some people. May anyone of these describe his setup? TIA Matthias Riese Reuben Thomas wrote: > > > The fil

RE: problem with mkdependHS options

2000-08-03 Thread Simon Marlow
> If I give both the option -i _and_ -X to > `mkdependHS' - even if the -X appears after the -i option on > the command line - `mkdependHS' silently ignores the -X > option. > > [This is with a vanilla GHC 4.06.] > > I would rather expect that the -X overrides the -i (and it > would definitely

RE: Algebraic datatype declaration without constructor

2000-08-03 Thread Simon Marlow
> ghc-4.08 (the current version in > http://www.haskell.org/ghc/dist/4.08/ghc-4.08-i386-unknown-lin > ux.tar.gz) > compiles the following program without error: > > > module Main(main) where > > main = main > > data Foo = baz > > According to the Haskell 98 report, this is not legal Haskell. Are