Ticket #88 (new enhancement)
Opened 4 years ago
Allow data fields to be listed with the offside rule
| Reported by: | benl | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.1.5 |
| Component: | Source Parser | Version: | 0.1.2 |
| Keywords: | Cc: |
Description
Want to support:
data Thing a
= SomeCtor
someField1 :: Type1
someField2 :: Type2
| SomeOtherCtor
someField3 :: Type3
...
Instead of needing braces around the fields as in:
data Thing a
= SomeCtor {
someField1 :: Type1;
someField2 :: Type2;
}
| SomeOtherCtor {
someField3 :: Type3;
...
}
Note: See
TracTickets for help on using
tickets.
