krfkeith / decac

Automatically exported from code.google.com/p/decac
GNU General Public License v3.0
0 stars 0 forks source link

Syntax for open sum types and classes #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Internally, the code exists to use open-sum types, but good syntax for those 
and for object-oriented classes needs to be built up.  Should there be special 
syntax for open sum types or closed sum types?  It's more modular when things 
are closed by default, actually.

Original issue reported on code.google.com by eligottlieb@gmail.com on 27 Apr 2011 at 6:29

GoogleCodeExporter commented 9 years ago
Went with structure syntax for open sum types and a requirement of a keyword to 
close a variant type constructor.

Original comment by eligottlieb@gmail.com on 24 Oct 2011 at 11:28