Module

TLDR.Combinators

Package
purescript-tldr
Repository
mikesol/purescript-tldr

#IfThen Source

data IfThen condition action

#ModifyStateAfterSuccessOnConstant Source

#ModifyStateAfterSuccessWithResult Source

#BranchOnState Source

data BranchOnState branches otherwise

#Or Source

data Or left right

#type (||) Source

Operator alias for TLDR.Combinators.Or (right-associative / precedence 2)

#IgnoreAndThenParse Source

data IgnoreAndThenParse ignore parse

#type ($>) Source

Operator alias for TLDR.Combinators.IgnoreAndThenParse (left-associative / precedence 4)

#ParseAndThenIgnore Source

data ParseAndThenIgnore parse ignore

#type (<$) Source

Operator alias for TLDR.Combinators.ParseAndThenIgnore (left-associative / precedence 4)

#Some Source

data Some combinator

#Many Source

data Many combinator

#Const Source

data Const tp

#Fix Source

data Fix :: Row Type -> Typedata Fix selfs

#SepBy1 Source

type SepBy1 a sep = Cons a (Many (IgnoreAndThenParse sep a))

#SepBy Source

type SepBy a sep = Or (SepBy1 a sep) (Const Nil)

#SepEndBy1 Source

type SepEndBy1 a sep = ParseAndThenIgnore (SepBy1 a sep) (Or sep Noop)

#SepEndBy Source

type SepEndBy a sep = ParseAndThenIgnore (SepBy a sep) (Or sep Noop)

#EndBy1 Source

type EndBy1 a sep = ParseAndThenIgnore (SepBy1 a sep) sep

#EndBy Source

type EndBy a sep = ParseAndThenIgnore (SepBy a sep) sep