Handbook
Glossary
define-inverse ( word quot -- )
Invertible quotations
Next:
define-pop-inverse ( word n quot -- )
Vocabulary
inverse
Inputs
word
a
word
quot
the inverse
Outputs
None
Word description
Defines the inverse of a given word, taking no arguments from the quotation, only the stack.
See also
define-dual
,
define-involution
,
define-pop-inverse
Definition
USING:
words
;
IN:
inverse
:
define-inverse
( word quot -- )
"inverse"
set-word-prop
;