Ticket #87 (closed defect: fixed)
type signatures look funky when generated by Template Haskell
| Reported by: | SamB | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Version: | Keywords: | TH | |
| Cc: | SamB |
Description
For example, try running haddock on this module (using the HEAD version of derive -- ndm says to use darcs get --partial http://www.cs.york.ac.uk/fp/darcs/derive to fetch it):
{-# LANGUAGE TemplateHaskell #-}
module TestSigs where
import Data.DeriveTH
$(derive makeIs ''Maybe)
The output will be something like:
[ ] Contents Index TestSigs Documentation isJust :: forall a[aPP]. Maybe a[aPP] -> Bool isNothing :: forall a[aPP]. Maybe a[aPP] -> Bool Produced by Haddock version 2.4.2
Change History
Note: See
TracTickets for help on using
tickets.
