[Haskell-cafe] Re: Haddock : parse error on input `{-# UNPACK'
Erik de Castro Lopo
mle+hs at mega-nerd.com
Sun Jun 7 04:13:11 EDT 2009
Dominic Steinitz wrote:
> -- | 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 depth
Thanks Dominic. Thats a workaround I can use.
Cheers,
Erik
--
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/
More information about the Haskell-Cafe
mailing list