mirror of
https://github.com/HigherOrderCO/Kind.git
synced 2024-09-11 15:45:52 +03:00
11 lines
316 B
Plaintext
11 lines
316 B
Plaintext
Kind.equal.enter
|
|
: ∀(e: Bool)
|
|
∀(a: Kind.Term)
|
|
∀(b: Kind.Term)
|
|
∀(dep: Nat)
|
|
Bool
|
|
= λe λa λb λdep
|
|
let P = λx ∀(a: Kind.Term) ∀(b: Kind.Term) ∀(dep: Nat) Bool
|
|
let true = λa λb λdep Bool.true
|
|
let false = λa λb λdep (Kind.comparer Kind.equal a b dep)
|
|
(~e P true false a b dep) |