Opened 10 years ago

Closed 7 years ago

#88 closed enhancement (invalid)

Allow data fields to be listed with the offside rule

Reported by: benl Owned by:
Priority: project Milestone:
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;
              ...
       }

Change History (4)

comment:1 Changed 7 years ago by benl

  • Milestone 0.1.5 deleted

Milestone 0.1.5 deleted

comment:2 Changed 7 years ago by benl

  • Milestone set to 0.3.0
  • Priority changed from normal to project

comment:3 Changed 7 years ago by benl

  • Milestone 0.3.0 deleted

comment:4 Changed 7 years ago by benl

  • Resolution set to invalid
  • Status changed from new to closed

pony removal

Note: See TracTickets for help on using tickets.