VocabularykernelInputsOutputsWord descriptionPartial application. Outputs a
callable which first pushes
obj and then calls
quot.
NotesEven if
obj is a word, it will be pushed as a literal.
This operation is efficient and does not copy the quotation.
ExamplesUSING: kernel prettyprint ;
5 [ . ] curry .
[ 5 . ]
USING: kernel prettyprint see ;
\ = [ see ] curry .
[ \ = see ]
USING: kernel math prettyprint sequences ;
{ 1 2 3 } 2 [ - ] curry map .
{ -1 0 1 }
See alsocurried,
compose,
prepose,
composedDefinition