io7m
io7m-jparasol
0.11.3
5.8. Samplers
5. Types
6. Compilation and Execution
Previous
Up
Next
5.9
Records
5.9.1
Description
1
Record types are composite types consisting of labelled fields. Values of record types are constructed with the
new
keyword, and values of fields are accessed with
record_projection
expressions.
2
Only a subset of the available types can be used as fields in records:
5.9.1.1. Record field types
integer
float
boolean
vector_NT
matrix_NxNf
User-defined
record
types
5.9.2
Constructors
1
Record types do not have
constructors
and values of record types can only be introduced with
record expressions
.
Previous
Up
Next
5.8. Samplers
5. Types
6. Compilation and Execution