{ "schema": "ailang/v0", "name": "test_22b3_xmod_e2e_classmod", "imports": [], "defs": [ { "kind": "class", "name": "XR", "param": "a", "methods": [{ "name": "xr", "type": { "k": "fn", "params": [{ "k": "var", "name": "a" }], "ret": { "k": "con", "name": "Int" }, "effects": [] } }] }, { "kind": "instance", "class": "XR", "type": { "k": "con", "name": "Int" }, "methods": [{ "name": "xr", "body": { "t": "lam", "params": ["x"], "paramTypes": [{ "k": "var", "name": "a" }], "retType": { "k": "con", "name": "Int" }, "body": { "t": "lit", "lit": { "kind": "int", "value": 7 } } } }] } ] }