Ion Fusion Documentation
Release 0.38a1-SNAPSHOT (2026-04-16T19:45:37.790Z)

Module /fusion/experimental/defines

defpub syntax
(defpub name value)

Defines and provides a binding for ID to the VALUE.

(defpub (name arg ...) body ...+)

Defines and provides a procedure named ID with the BODY.

defpub_j syntax
(defpub_j id fqcn)

Defines and provides a binding for ID, using java_new and the given fully-qualified class name string FQCN.

defpub_j_syntax syntax
(defpub_j_syntax id fqcn)

Defines and provides a transformer binding for ID, using java_new and the given fully-qualified class name string FQCN.

defpub_syntax syntax
(defpub_syntax name value)

Defines and provides a transformer binding for ID to the VALUE (which must generally be a transform procedure).