Idris2-boot/tests/idris2/basic021/expected

5 lines
160 B
Plaintext
Raw Normal View History

2019-06-29 23:32:19 +03:00
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!