2021-08-10 21:24:32 +03:00
|
|
|
1/1: Building NamedReturn1 (NamedReturn1.idr)
|
|
|
|
Error: Cannot return a named argument.
|
|
|
|
|
|
|
|
NamedReturn1:1:24--1:37
|
|
|
|
1 | not : (arg1 : Bool) -> (arg2 : Bool)
|
|
|
|
^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
1/1: Building NamedReturn2 (NamedReturn2.idr)
|
|
|
|
Error: Cannot return an implicit argument.
|
|
|
|
|
|
|
|
NamedReturn2:1:24--1:37
|
|
|
|
1 | not : (arg1 : Bool) -> {arg2 : Bool}
|
|
|
|
^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
1/1: Building NamedReturn3 (NamedReturn3.idr)
|
|
|
|
Error: Cannot return an auto implicit argument.
|
|
|
|
|
|
|
|
NamedReturn3:1:24--1:42
|
|
|
|
1 | not : (arg1 : Bool) -> {auto arg2 : Bool}
|
|
|
|
^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
1/1: Building NamedReturn4 (NamedReturn4.idr)
|
|
|
|
Error: Cannot return a default implicit argument.
|
|
|
|
|
|
|
|
NamedReturn4:1:24--1:50
|
|
|
|
1 | not : (arg1 : Bool) -> {default arg2 True : Bool}
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
1/1: Building TrailingLam (TrailingLam.idr)
|
|
|
|
Warning: DEPRECATED: trailing lambda. Use a $ or parens
|
|
|
|
|
|
|
|
TrailingLam:3:9--3:22
|
|
|
|
1 |
|
|
|
|
2 | f : (Nat -> Nat) -> Nat
|
|
|
|
3 | f k = f \n => k (S n)
|
|
|
|
^^^^^^^^^^^^^
|
|
|
|
|
2021-09-19 13:33:48 +03:00
|
|
|
Main> 1 hole: Main.a : Nat -> Nat
|
2021-08-10 21:24:32 +03:00
|
|
|
Main>
|
|
|
|
Bye for now!
|