The nonempty
macro should result in the Haskell backend using the NonEmpty
type?
#371
Labels
Milestone
nonempty
macro should result in the Haskell backend using the NonEmpty
type?
#371
You can write
separator nonempty Stmt ","
in the grammar but the generatedAbs
file still uses the type[Stmt]
rather thanNonEmpty Stmt
. This means that you have to duplicate the empty-case check again wherever you use the generated data type.e.g.
results in
rather than
How hard would this be to fix and where would one start?
The text was updated successfully, but these errors were encountered: