Module
Text.Pretty.PatternArrows
- Package
- purescript-pattern-arrows
- Repository
- paluh/purescript-pattern-arrows
#Op Source
class Op op where
Members
assocL :: forall r a u. Pattern u a (Tuple a a) -> (r -> r -> r) -> op u a r
assocR :: forall r a u. Pattern u a (Tuple a a) -> (r -> r -> r) -> op u a r
wrap :: forall r s a u. Pattern u a (Tuple s a) -> (s -> r -> r) -> op u a r
split :: forall r t s a u. Pattern u a (Tuple s t) -> (s -> t -> r) -> op u a r
Instances
#runOperatorTable Source
runOperatorTable :: forall r a u. OperatorTable u a r -> Array (NonEmpty Array (Operator u a r))
#PatternEndo Source
#runPatternEndo Source
runPatternEndo :: forall r a u. PatternEndo u a r -> Pattern u a r -> Pattern u a r
#toPatternEndo Source
toPatternEndo :: forall r a u. Operator u a r -> Pattern u a r -> Pattern u a r
#buildPrettyPrinter Source
buildPrettyPrinter :: forall r a u. OperatorTable u a r -> Pattern u a r -> Pattern u a r
- Modules
- Text.
Pretty. PatternArrows