RE: Haddock can't parse data declaration involving operator

10 May
2004
10 May
'04
6:10 a.m.
On 09 May 2004 15:07, Stefan Reich wrote:
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 this a known problem?
Asking more broadly - maybe there is another tool that does what I need: I just want an overview of all my modules including their exported identifiers and all type signatures (including inferred signatures).
This is a GHC extension that Haddock doesn't support (unfortunately). I'll add it to the ToDo list... Cheers, Simon
7680
Age (days ago)
7680
Last active (days ago)
0 comments
1 participants
participants (1)
-
Simon Marlow