mirror of
https://github.com/HigherOrderCO/Kind.git
synced 2024-09-11 16:16:41 +03:00
8 lines
161 B
Plaintext
8 lines
161 B
Plaintext
U60.abs_diff
|
|
: ∀(a: #U60) ∀(b: #U60) #U60
|
|
= λa λb
|
|
use P = λx #U60
|
|
use true = #(- b a)
|
|
use false = #(- a b)
|
|
(~(U60.to_bool #(< a b)) P true false)
|