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