mirror of
https://github.com/HigherOrderCO/Kind.git
synced 2024-09-11 17:46:40 +03:00
10 lines
464 B
Plaintext
10 lines
464 B
Plaintext
Kind.Term.parser.ann
|
|
: (Parser.Guard Kind.PreTerm)
|
|
= (Parser.Guard.text Kind.PreTerm "{"
|
|
(Kind.Term.parser.bind Unit (Parser.text "{") λ_
|
|
(Kind.Term.parser.bind Kind.PreTerm Kind.Term.parser λval
|
|
(Kind.Term.parser.bind Unit (Parser.text ":") λ_
|
|
(Kind.Term.parser.bind Kind.PreTerm Kind.Term.parser λtyp
|
|
(Kind.Term.parser.bind Unit (Parser.text "}") λ_
|
|
(Kind.Term.parser.pure λscp
|
|
(Kind.ann (val scp) (typ scp))))))))) |