COMPAT_CONST_JSON

Constant COMPAT_CONST_JSON 

Source
pub const COMPAT_CONST_JSON: &str = "compat.const_json";
Expand description

Constructor for JSON encoded constants.

This is included in the model to allow for compatibility with hugr-core. The intention is to deprecate this in the future in favor of constants expressed with custom constructors.

  • Parameter: ?type : core.type
  • Parameter: ?json : core.str
  • Result: (core.const ?type)