blob: a1ce99b4b4b2a8ec2e1f52623ba7261c41aea2ac [file]
def f (x : Nat) : IO Nat := do
if x == 0 then
return 0
else if x then
return 1
else
return "a"