Table of Contents
A typeset! value represents a set, or collection, of predefined datatype! values.
Typeset! is a member of the following typesets: default!, immediate!
By convention, literal syntax is a word! value ending with an exclamation mark !.
Examples: any-list!, number!, series!
<typeset> ::= make typeset! [<typeset-element>*]
<typeset-element> ::= <typeset-name> | <datatype-name>Examples
>> number!: make typeset! [integer! float! percent!]
== make typeset! [integer! float! percent!]
>> collection!: make typeset! [block! paren! map!]
== make typeset! [block! paren! map!]
>> to typeset! [integer! float! percent!]
== make typeset! [integer! float! percent!]Empty typesets are allowed.
>> empty!: make typeset! []
== make typeset! []A typeset! value can be converted to any value of the typeset any-list!
>> to block! number!
== [integer! float! percent!]
>> to paren! number!
== (integer! float! percent!)
>> to hash! number!
== make hash! [integer! float! percent!]The following data set operations are possible with typeset! values:
difference, exclude, intersect, union
Use typeset? to check if a value is of the typeset! datatype.
>> typeset? number!
== trueUse type? to return the datatype of a given value.
>> type? number!
== typeset!