[Haskell-cafe] Haddock multiple definitions

Roman Cheplyaka roma at ro-che.info
Fri Aug 16 12:08:42 CEST 2013


* Mateusz Kowalczyk <fuuzetsu at fuuzetsu.co.uk> [2013-08-16 08:16:35+0100]
> In the future, please try with more recent version of GHC.
> 
> This is no longer a parse error with HEAD or 7.6.3.

Uhm, actually there is, with 7.6.3.

  % cat haddock.hs    
  -- Main

  -- | Blah blah blah
  (x, y, z) = (1, 2, 3)

  % haddock haddock.hs

  haddock.hs:4:1: parse error on input `('

  % haddock --version                
  Haddock version 2.13.2, (c) Simon Marlow 2006
  Ported to use the GHC API by David Waern 2006-2008

It's great that it's fixed in HEAD.

Roman




More information about the Haskell-Cafe mailing list