mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-24 20:23:11 +03:00
29 lines
591 B
Plaintext
29 lines
591 B
Plaintext
1/1: Building ParseIf (ParseIf.idr)
|
|
Error: Expected 'then'.
|
|
|
|
ParseIf:3:26--3:30
|
|
1 |
|
|
2 | test : Int -> Int
|
|
3 | test a = if a < 10 the 0 else a
|
|
^^^^
|
|
|
|
1/1: Building ParseIf2 (ParseIf2.idr)
|
|
Error: Expected 'then'.
|
|
|
|
ParseIf2:4:33--4:37
|
|
1 |
|
|
2 | test : Int -> Int
|
|
3 | test a = if a < 10
|
|
4 | then if a < 0 the 0 else 5
|
|
^^^^
|
|
|
|
1/1: Building ParseIf3 (ParseIf3.idr)
|
|
Error: Expected 'then'.
|
|
|
|
ParseIf3:3:26--3:30
|
|
1 |
|
|
2 | test : Int -> Int
|
|
3 | test a = (if a < 0 the 0 else 5)
|
|
^^^^
|
|
|