mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-17 08:11:45 +03:00
5 lines
160 B
Plaintext
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!
|