mirror of
https://github.com/HigherOrderCO/Kind.git
synced 2024-09-11 17:56:48 +03:00
19 lines
357 B
Plaintext
19 lines
357 B
Plaintext
Kind.Term.parser.hol
|
|
: (Parser.Guard Kind.PreTerm)
|
|
= (Parser.Guard.text
|
|
Kind.PreTerm
|
|
"?"
|
|
(Kind.Term.parser.bind
|
|
Unit
|
|
(Parser.text "?")
|
|
λ_
|
|
(Kind.Term.parser.bind
|
|
String
|
|
Parser.name
|
|
λnam
|
|
(Kind.Term.parser.pure
|
|
λscp (Kind.hol nam (List.nil Kind.Term))
|
|
)
|
|
)
|
|
)
|
|
) |