Idris2-boot/tests/idris2/linear006/ZFun.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

15 lines
144 B
Idris

import Data.Fin
foo : Fin 10
foo = 5
0 test : Fin k -> Nat
test i = k
0 baz : Nat
baz = test foo -- fine!
bar : Nat
bar = test foo -- bad!