parseq.parsers

An eclectic bunch of parsers.

->fail

(->fail msg)(->fail msg data)
Builds a parser that always fails.

fail

A parser that always fails

one

A parser that takes (any) one element.

one-not-satisfying

(one-not-satisfying predicate)
Builds a parser that takes an element that does not satisfy `predicate`.

one-not=

(one-not= v)
Builds a parser that takes an element that equals `v`.

one-re

(one-re re)
Builds a parser that takes an element that matches `re`.

one-satisfying

(one-satisfying predicate)
Builds a parser that takes an element that satisfies `predicate`.

one=

(one= v)
Builds a parser that takes an element that equals `v`.

succeed

(succeed input)
A parser that always succeeds, returning `nil`