datatype statements
-
Douglas Creager
- State changed from new to open
- Milestone set to 1.0-α4
-
Douglas Creager
(from [89f4f7bd2000767025f65ac4aa62769d871a7e8f]) Simple datatypes
This patch introduces support for “simple” datatype statements — i.e., those whose constructors do not take any data values. So, in the following:
datatype SimpleColour = Red | Green | Blue datatype T = A.{0..3} | B.{4..7}
SimpleColour is a simple datatype, whereas T is not.
The SimpleColour definition creates four bindings: Red, Green, and Blue all resolve to a new “constructor value”, which just records which of the data constructors was used to create a particular value. SimpleColour resolves to a set containing all three constructor values.
Lighthouse: [#21 datatype statements] http://github.com/hst/hst/commit...
-
Douglas Creager
- State changed from open to resolved
(from [efa9cd5893cf6fded4995ce7354c323c11e41672]) Complex datatypes
This patch introduces support for “complex” datatype statements — i.e., those with data values. This includes test cases for most of the examples in section A.3.3 of the FDR manual.
Lighthouse: [#21 datatype statements state:resolved] http://github.com/hst/hst/commit...
-
Douglas Creager
(from [efa9cd5893cf6fded4995ce7354c323c11e41672]) Complex datatypes
This patch introduces support for “complex” datatype statements — i.e., those with data values. This includes test cases for most of the examples in section A.3.3 of the FDR manual.
Lighthouse: [#21 datatype statements state:resolved] http://github.com/hst/hst/commit...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.