mirror of
https://github.com/HigherOrderCO/Kind.git
synced 2024-09-11 17:46:40 +03:00
7 lines
178 B
Plaintext
7 lines
178 B
Plaintext
Parser.Guard.text
|
|
: ∀(A: *)
|
|
∀(text: String)
|
|
∀(then: (Parser A))
|
|
(Parser.Guard A)
|
|
= λA λtext λthen
|
|
(Parser.Guard.new A (Parser.skip Bool (Parser.test text)) then) |