Idris2/tests/idris2/basic/basic021/expected
2023-09-07 14:57:22 +01:00

5 lines
160 B
Plaintext

1/1: Building CaseDep (CaseDep.idr)
Main> Main.foo : Nat -> (x : Bool) -> IntOrChar x -> String
foo num x i = if x then show num else show i
Main> Bye for now!