Handbook
Glossary
add-function ( name effect module prefix? -- )
Vocabulary
python
.
syntax
.
private
Inputs
name
an
object
effect
an
object
module
an
object
prefix?
an
object
Outputs
None
Definition
USING:
accessors
kernel
python
words
;
IN:
python.syntax.private
::
add-function
( name effect module prefix? -- )
module name prefix?
make-factor-words
:>
( call-word obj-word ) obj-word module name
[
py-import-from
]
2curry
( -- o )
define-inline
call-word obj-word
def>>
effect
make-function-quot
effect
define-inline
;