Parse for loops
authorLuke Lau <luke_lau@icloud.com>
Wed, 5 Jun 2019 21:59:34 +0000 (22:59 +0100)
committerLuke Lau <luke_lau@icloud.com>
Fri, 8 Nov 2019 15:07:39 +0000 (15:07 +0000)
commit050198d6cb383da83c3749d302eee48cee080293
treec32a0027f3717703ff84256c2dce9d63d90ac462
parent023adfd1ca927790be8335c0df3334a861129da3
Parse for loops

Watch out for the <++: this tries to parse whatever is on the left first,
and then only if it fails tries whatever is on the right. This is
different from <|>, which will include both in all the possible
final parsings.
AST.hs