mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-19 01:01:59 +03:00
a972778eab
They don't all pass yet, for minor reasons. Coming shortly... Unfortunately the startup overhead for chez is really noticeable here!
8 lines
260 B
Plaintext
8 lines
260 B
Plaintext
1/1: Building IEdit (IEdit.idr)
|
|
Main> natElim p x f 0 = x
|
|
natElim p x f (S k) = f k (natElim p x f k)
|
|
Main> f k (natElim2 p x f k)
|
|
Main> listElim p mnil mcons [] = mnil
|
|
listElim p mnil mcons (x :: xs) = mcons x xs (listElim p mnil mcons xs)
|
|
Main> Bye for now!
|