mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-30 15:13:37 +03:00
a972778eab
They don't all pass yet, for minor reasons. Coming shortly... Unfortunately the startup overhead for chez is really noticeable here!
12 lines
149 B
Idris
12 lines
149 B
Idris
myS : Nat -> Nat
|
|
myS n = S n
|
|
|
|
myS_crash : Nat -> Nat
|
|
myS_crash = S
|
|
|
|
main : IO ()
|
|
main = do
|
|
printLn (S Z)
|
|
printLn (myS Z)
|
|
printLn (myS_crash Z)
|