mirror of
https://github.com/HigherOrderCO/Bend.git
synced 2024-10-26 05:50:18 +03:00
13 lines
162 B
Plaintext
13 lines
162 B
Plaintext
type Bool:
|
|
T
|
|
F
|
|
|
|
def main:
|
|
with IO:
|
|
match _ = Bool/T:
|
|
case Bool/T:
|
|
x <- wrap(0)
|
|
case Bool/F:
|
|
x <- wrap(0)
|
|
return wrap(x)
|