[haddock] #109: Haddock : parse error on input `{-# UNPACK'

haddock haddock at projects.haskell.org
Sun Jun 7 03:25:26 EDT 2009


#109: Haddock :  parse error on input `{-# UNPACK'
-------------------------+--------------------------------------------------
Reporter:  erikd         |        Owner:       
    Type:  defect        |       Status:  new  
Priority:  major         |    Milestone:  2.5.0
 Version:  2.4.2         |   Resolution:       
Keywords:  parse UNPACK  |  
-------------------------+--------------------------------------------------
Comment (by dominic):

 Should be in a code block:

 {{{
 -- | The parse state
 data S = S {-# UNPACK #-} !BL.ByteString  -- ^ input
            {-# UNPACK #-} !Int  -- ^ bytes read
            {-# UNPACK #-} ![B.ByteString]
            {-# UNPACK #-} !Int  -- ^ the failure depth

 -- | The parse state
 data S = S {-# UNPACK #-} !BL.ByteString  -- input
            {-# UNPACK #-} !Int  -- bytes read
            {-# UNPACK #-} ![B.ByteString]
            {-# UNPACK #-} !Int  -- the failure dept
 }}}

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


More information about the Haddock mailing list