[haddock] #87: type signatures look funky when generated by Template Haskell

haddock haddock at projects.haskell.org
Mon Feb 9 11:36:01 EST 2009


#87: type signatures look funky when generated by Template Haskell
-------------------+--------------------------------------------------------
Reporter:  SamB    |       Owner:       
    Type:  defect  |      Status:  new  
Priority:  major   |   Milestone:  2.5.0
 Version:          |    Keywords:       
-------------------+--------------------------------------------------------
 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
 }}}

-- 
Ticket URL: <http://trac.haskell.org/haddock/ticket/87>
haddock <http://www.haskell.org/haddock>
Haddock, The Haskell Documentation Tool


More information about the Haddock mailing list