Ticket #137: Haddock.hs

File Haddock.hs, 142 bytes (added by nr, 4 years ago)

Just the code shown in the ticket -- makes Haddock fail with a parse error

Line 
1{-# LANGUAGE GADTs #-}
2module Haddock
3where
4
5data Lit a where
6  I :: Int  -> Lit Int  -- ^ an integer
7  B :: Bool -> Lit Bool -- ^ a Boolean