syntax-0.1.1.0: Abstract syntax descriptions for parsing and pretty-printing.

Copyright(c) Paweł Nowak
LicenseMIT
MaintainerPaweł Nowak <pawel834@gmail.com>
Stabilityexperimental
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Syntax.Combinator

Description

Combinators that work with any sequence type.

Synopsis

Documentation

sepBy :: SemiIsoAlternative f => f a -> f () -> f [a] Source

Zero or more occurences of v separated by s.

sepBy1 :: SemiIsoAlternative f => f a -> f () -> f [a] Source

One or more occurences of v separated by s.