mirror of
https://github.com/HigherOrderCO/Kind.git
synced 2024-09-11 23:37:08 +03:00
8 lines
179 B
Plaintext
8 lines
179 B
Plaintext
use Bool/{true,false}
|
|
|
|
abs_diff (a: U60) (b: U60) : U60 =
|
|
match x = (U60/to_bool (< a b)) {
|
|
true: (- b a)
|
|
false: (- a b)
|
|
}: U60 // FIXME: unifier can't fill this type
|