Unison has the following built-in type constructors.
(->)
is the constructor of function types. A typeX -> Y
is the type of functions fromX
toY
.Tuple
is the constructor of tuple types. See tuple types for details on tuples.List
is the constructor of list types. A typeList T
is the type of arbitrary-length sequences of values of typeT
. The type[T]
is an alias forList T
.Request
is the constructor of requests for abilities. A typeRequest A T
is the type of values received by ability handlers for the abilityA
where current continuation requires a value of typeT
.