mirror of
https://github.com/HigherOrderCO/Kind.git
synced 2024-09-11 23:37:08 +03:00
8 lines
97 B
Plaintext
8 lines
97 B
Plaintext
use Bool/{true,false}
|
|
|
|
to_bool (x: U60) : Bool =
|
|
switch x {
|
|
0: false
|
|
_: true
|
|
}: Bool
|