justinlubin / cobbler

Refactor programs to use library functions!
5 stars 0 forks source link

Add multi-argument constructors to FP lang #33

Closed justinlubin closed 1 year ago

justinlubin commented 1 year ago

Constructors can now take multiple arguments (which means that branches in match expressions now also take in a list of identifiers). This opens up the ability to remove product types by encoding them as multi-argument constructors, making progress on #27.