[haddock] #88: Sections in the midst of algebraic datatype definitions

haddock haddock at projects.haskell.org
Mon Feb 9 12:56:00 EST 2009


#88: Sections in the midst of algebraic datatype definitions
------------------------+---------------------------------------------------
Reporter:  SamB         |       Owner:       
    Type:  enhancement  |      Status:  new  
Priority:  major        |   Milestone:  2.5.0
 Version:               |    Keywords:       
------------------------+---------------------------------------------------
 This would be good for code like this:

 {{{
 data BinOp
     = Add
     | Sub

     | Mul
     | Mulx
     | UMulx

     | Div   -- ^ round to -Infinity
     | Mod   -- ^ mod rounding to -Infinity

     | Quot  -- ^ round to 0
     | Rem   -- ^ rem rounding to 0

     | UDiv  -- ^ round to zero (unsigned)
     | UMod  -- ^ unsigned mod

     -- bitwise
     | And
     | Or
     | Xor
     | Shl
     | Shr    -- ^ shift right logical
     | Shra   -- ^ shift right arithmetic
     | Rotl
     | Rotr
     -- floating
     | FAdd
     | FSub
     | FDiv
     | FMul
     | FPwr
     | FAtan2

 ...
 }}}

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


More information about the Haddock mailing list