mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-24 20:23:11 +03:00
41 lines
1.1 KiB
Plaintext
41 lines
1.1 KiB
Plaintext
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)
|
|
^^^^^^^^^^^^^
|
|
|
|
Main> 1 hole: Main.a : Nat -> Nat
|
|
Main>
|
|
Bye for now!
|