[Haskell-cafe] How efficient is read?

Malcolm Wallace malcolm.wallace at me.com
Tue May 11 10:16:01 EDT 2010


> data Something = Something Int (Maybe String)
>  deriving Show {-! derive : Parse !-}
>
> There is nothing in the generated parser to look for parens around the
> Maybe in case it is a (Just string).

Sorry, that will be my fault.  I contributed the rules for deriving  
Parse to DrIFT.  I am on holiday right now, but will try to take a  
look shortly.

Regards,
     Malcolm



More information about the Haskell-Cafe mailing list