- (define-operator name n-args code)
- (define-operator name min-args max-args code)
Defines operator `name` that takes either exactly `n-args` or between `min-args` and `max-args` arguments. When the operator is invoked, `code` is executed. The arguments passed to `code` are already converted to Clojure format; the result of `code` should also be a Clojure value (not in VM representation). If an operation requires access to the memory subsystem it should be implemented as primitive instead.
revue.vm/define-operator found in 1 def, across 1 project.
Search for vars with similar names in all artifacts: define-operator
Search for define operator in the documentation of all artifacts.