{ "schema": "ailang/v0", "name": "mq1_xmod_constraint_class", "imports": [{ "module": "mq1_xmod_constraint_class_dep" }], "defs": [ { "kind": "fn", "name": "useShow", "doc": "Positive mq.1 fixture: a polymorphic fn that takes a single value and a Show constraint, ignores the value, and returns Unit. Exercises the qualified `Constraint.class` shape end-to-end (loader + validator + check_workspace).", "type": { "k": "forall", "vars": ["a"], "constraints": [ { "class": "mq1_xmod_constraint_class_dep.Show", "type": { "k": "var", "name": "a" } } ], "body": { "k": "fn", "params": [{ "k": "var", "name": "a" }], "param_modes": ["borrow"], "ret": { "k": "con", "name": "Unit" }, "effects": [] } }, "params": ["_x"], "body": { "t": "lit", "lit": { "kind": "unit" } } } ] }