Idris2/tests/idris2/perror014/ParseList.idr
Guillaume Allais 0986cf177b [ parse ] better error message for list literals
I got fed up with being puzzled whenever edwin's trailing commas
and my leading commas clash and the error location is the opening
square bracket rather than the repeated comma.
2022-04-15 11:33:20 +01:00

10 lines
76 B
Idris

list : List Nat
list
= [ 0
, 1
, 2
, 3
, 4,
, 5
]