[Haskell-cafe] concurrent definitions with parsec

Zsolt SZALAI zs.szalai at gmail.com
Mon Mar 10 09:55:19 EDT 2008


>
>
> Er?   Refactoring the grammar like that is the clean and preferred
> way.  But if you insist, use the try combinator.
>

Oh, all right, i was trying to be  loyal to the BNF in standard.


>
>   structuredTypeDef = try recordDef <|> recordOfDef
>
> --
> brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
> system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
> electrical and computer engineering, carnegie mellon university    KF8NH
>
>
>


-- 
Szalai Zsolt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20080310/6040240e/attachment.htm


More information about the Haskell-Cafe mailing list