callable
Factor handbook » The language » Collections » Quotations

Prev:quotation? ( object -- ? )
Next:Wrappers


Vocabulary
quotations

Class description
The class whose instances can be passed to call. This includes quotations and composed quotations built up with curry or compose.

Definition


Methods










M:: callable >vector-op-cond ( quot #pick #dup -- quotpair )
#dup quot [vector-op-checked] [ [ 2drop ] ] dip compose #dup
[ [ % ] ] dip [ nnip ] curry compose 2array ;