eqdisco.expr.register_primitive#

eqdisco.expr.register_primitive(primitive)[source]#

Add a user-defined primitive to the registry (used by parsing and JSON loading).