define-inverse ( word quot -- )
Invertible quotations
Next:define-pop-inverse ( word n quot -- )


Vocabulary
inverse

Inputs and outputs
worda word
quotthe inverse


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 ;