Hi,

Okay, after some compilation time I hit a new problem.
This time I get the following error:

  Utils.lhs:345: parse error on input `.'

The problem seems to be the following piece of code in Utils.lhs:

  data FieldInfo a
   = forall i .  -- not really needed, but convenient.
      FieldInfo
        String                         -- field label
        Bool                           -- True => optional
        (String -> Maybe (i,String))
         (i -> a -> a)

In my case, it is not "convenient" :-).

It seems that the compiler does not automatically get
the options that allow for forall quantification. I am
using ghc-4.04 on Solaris, and not the recommended
ghc-4.03, but that should not be a problem?

I tried adding the flag -fglasgow-exts, but that generates
another (very strange) error:

  Utils.lhs:22: parse error on input `(#'

On the following piece of code:

  module Utils 
       ( <...>
       , (#)
         <...>
       )

(I don't know if this is a bug in -fglasgow-exts).

In any case, the H/Direct makefile should automatically
switch on the flag for "forall". How does one do that?

Thanks,
Koen.

--
Koen Claessen         http://www.cs.chalmers.se/~koen     
phone:+46-31-772 5424      e-mail:[EMAIL PROTECTED]
-----------------------------------------------------
Chalmers University of Technology, Gothenburg, Sweden

Reply via email to