mirror of
https://github.com/HigherOrderCO/Kind.git
synced 2024-09-11 17:56:48 +03:00
9 lines
240 B
Plaintext
9 lines
240 B
Plaintext
Parser.Result
|
|
: ∀(T: *)
|
|
*
|
|
= λT
|
|
$self
|
|
∀(P: ∀(x: (Parser.Result T)) *)
|
|
∀(done: ∀(code: String) ∀(value: T) (P (Parser.Result.done T code value)))
|
|
∀(fail: ∀(error: String) (P (Parser.Result.fail T error)))
|
|
(P self) |