MATH:
Factor documentation > Factor handbook > The language > Objects > Generic words and methods
Prev:HOOK:
Next:M:


Vocabulary
syntax

Syntax
MATH: word


Inputs and outputs
worda new word to define


Word description
Defines a new generic word which uses the math-combination method combination.

See also
generic, define-generic, define-simple-generic, GENERIC:, GENERIC#, HOOK:

Definition
USING: generic.math generic.parser ;

IN: syntax

SYNTAX: MATH: [ math-combination ] (GENERIC:) ;