mirror of
https://github.com/HigherOrderCO/Kind.git
synced 2024-09-11 16:36:13 +03:00
34 lines
714 B
Plaintext
34 lines
714 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))
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
) |