mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-25 12:42:02 +03:00
19 lines
419 B
Plaintext
19 lines
419 B
Plaintext
|
1/1: Building LamParseError (LamParseError.idr)
|
||
|
Error: Expected '=>'.
|
||
|
|
||
|
LamParseError:2:24--2:26
|
||
|
1 | fun : a -> b -> c -> d -> a
|
||
|
2 | fun = \ a, b => \ c, d -> a
|
||
|
^^
|
||
|
|
||
|
1/1: Building CaseParseError (CaseParseError.idr)
|
||
|
Error: Expected '=>' or 'impossible'.
|
||
|
|
||
|
CaseParseError:4:7--4:9
|
||
|
1 | plus : Nat -> Nat -> Nat
|
||
|
2 | plus m n = case m of
|
||
|
3 | Z => n
|
||
|
4 | S m -> S (plus m n)
|
||
|
^^
|
||
|
|