alien.enums vocabulary
Factor handbook ยป Vocabulary index


Documentation
Enumeration types

Metadata
Parents:alien


Words

Predicate classes
ClassSuperclass
enum-c-type-word c-type-word


Generic words
WordStack effect
enum>number( enum -- number )


Macro words
WordStack effect
number>enum( enum-c-type -- quot )


Ordinary words
WordStack effect
(define-enum)( word base-type members -- )
define-enum( word base-type members -- )
define-enum-value( class value -- )
enum>keys( enum -- seq )
enum>values( enum -- seq )
values>enum( values enum -- seq )


Class predicate words
WordStack effect
enum-c-type-word?( object -- ? )


Files