mirror of
https://github.com/HigherOrderCO/Kind.git
synced 2024-09-11 20:47:25 +03:00
7 lines
160 B
Plaintext
7 lines
160 B
Plaintext
U60.abs_diff
|
|
: ∀(a: #U60) ∀(b: #U60) #U60
|
|
= λa λb
|
|
let P = λx #U60
|
|
let true = #(- b a)
|
|
let false = #(- a b)
|
|
(~(U60.to_bool #(< a b)) P true false) |