Ticket #87 (closed defect: fixed)

Opened 8 years ago

Last modified 5 years ago

type signatures look funky when generated by Template Haskell

Reported by: SamB Owned by:
Priority: major Milestone:
Version: Keywords: TH
Cc: SamB


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
   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

Changed 8 years ago by SamB

  • cc SamB added

Changed 8 years ago by SamB

Oh, I also reported this against derive as http://code.google.com/p/ndmitchell/issues/detail?id=151

Changed 8 years ago by SamB

  • keywords TH added

Changed 7 years ago by waern

  • status changed from new to closed
  • resolution set to fixed

Looking at the derive ticket, this seems like a derive issue that has been solved.

Changed 5 years ago by anonymous

  • milestone 2.5.0 deleted

Milestone 2.5.0 deleted

Note: See TracTickets for help on using tickets.