Idris2-boot/tests/idris2/interactive011/IEdit.idr
Michael Morgan e6121e0935 Remove trailing whitespace from Idris sources.
This is the result of running the command:

$ find . -name '*.idr' -type f -exec sed -i -E 's/\s+$//' {} +

I confirmed before running it that this would not affect any markdown
formatting in documentation comments.
2019-10-25 14:24:25 -07:00

13 lines
417 B
Idris

natElim : (p : Nat -> Type) -> p Z -> ((k : Nat) -> p k -> p (S k)) ->
(x : Nat) -> p x
natElim2 : (p : Nat -> Type) -> p Z -> ((k : Nat) -> p k -> p (S k)) ->
(x : Nat) -> p x
natElim2 p x f Z = x
natElim2 p x f (S k) = ?foo
listElim : (p : List a -> Type) ->
(mnil : p []) ->
(mcons : (x : _) -> (xs : List a) -> p xs -> p (x :: xs)) ->
(xs : List a) -> p xs