mirror of
https://github.com/HigherOrderCO/Kind.git
synced 2024-09-11 17:56:48 +03:00
21 lines
405 B
Plaintext
21 lines
405 B
Plaintext
Kind.Term.parser.chr
|
|
: (Parser.Guard Kind.PreTerm)
|
|
= (Parser.Guard.text
|
|
Kind.PreTerm
|
|
"'"
|
|
(Kind.Term.parser.bind
|
|
Unit
|
|
(Parser.text "'")
|
|
λ_
|
|
(Kind.Term.parser.bind
|
|
#U60
|
|
Parser.char
|
|
λchr
|
|
(Kind.Term.parser.bind
|
|
Unit
|
|
(Parser.text "'")
|
|
λ_ (Kind.Term.parser.pure λscp (Kind.num chr))
|
|
)
|
|
)
|
|
)
|
|
) |