2022-09-02 07:41:04 +03:00
|
|
|
1/1: Building ParseIf (ParseIf.idr)
|
2022-09-15 08:09:37 +03:00
|
|
|
Error: Expected 'then'.
|
2022-09-02 07:41:04 +03:00
|
|
|
|
|
|
|
ParseIf:3:26--3:30
|
|
|
|
1 |
|
|
|
|
2 | test : Int -> Int
|
|
|
|
3 | test a = if a < 10 the 0 else a
|
|
|
|
^^^^
|
2022-09-15 08:09:37 +03:00
|
|
|
|
2022-09-02 17:35:19 +03:00
|
|
|
1/1: Building ParseIf2 (ParseIf2.idr)
|
2022-09-15 08:09:37 +03:00
|
|
|
Error: Expected 'then'.
|
2022-09-02 17:35:19 +03:00
|
|
|
|
|
|
|
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
|
|
|
|
^^^^
|
2022-09-15 08:09:37 +03:00
|
|
|
|
|
|
|
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)
|
|
|
|
^^^^
|
|
|
|
|