Hi,
I hope this is the right place to ask about Haddock problems?
I'm using Haddock 0.6 (RedHat RPM module) under RedHat 9. When I invoke
haddock on this file (Op.hs):
module Op where
infixl 4 :=
data a := b = a := b
I get the error Op.hs:Illegal data/newtype declaration.
Is
Yes, same thing here on RedHat 9... apparently a problem specific to the
Windows port.
-Stefan
Sven Panne wrote:
Stefan Reich wrote:
[...] The program crashes every time I run it (Windows XP this time, but
I assume that doesn't make a difference).
Hmmm, it works with GHC 6.2.1 and the one
In recent versions of the GHC libraries, constrFields (as defined here
http://www.cs.vu.nl/boilerplate/library/Data.Generics.Basics.html) has
disappeared. I failed to figure out another way to get the names of all
fields of a constructor.
Have I overlooked anything? Do I have to use Template
The problem is that constrFields is not included with 6.2.1.
You would need to build GHC from CVS.
It will be in 6.4 for sure.
And yes, you are right, there is no other way to get the names
of all fields of a constructor.
Ralf
Stefan Reich wrote:
In recent versions of the GHC libraries,
Hello, fellow GHCees,
I am currently co-developing a language[1] as an extension to Haskell, by
means of a preprocessor to GHC. In this language we want to supply the
programmer with a number of functions by default, as with the functions in
the GHC Prelude.
Is there some simple way to make
On Sun, May 09, 2004 at 06:54:27PM +, Niklas Broberg wrote:
I am currently co-developing a language[1] as an extension to Haskell, by
means of a preprocessor to GHC. In this language we want to supply the
programmer with a number of functions by default, as with the functions in
the GHC
On Sun, May 09, 2004 at 09:45:32PM +0200, Tomasz Zielonka wrote:
requirePage :: ()
requirePage = f page
where
f :: PageType - ()
f _ = ()
Or simpler:
_requirePage :: PageType
_requirePage = page
Best regards,
Tom
--
.signature: Too many levels of symbolic
I am currently co-developing a language[1] as an extension to Haskell,
by
means of a preprocessor to GHC. In this language we want to supply the
programmer with a number of functions by default, as with the functions
in
the GHC Prelude.
Is there some simple way to make GHC treat our own