{ "schema": "ailang/v0", "name": "mq3_two_show_ambiguous_b", "imports": [], "defs": [ { "kind": "class", "name": "Show", "param": "a", "methods": [ { "name": "show", "type": { "k": "fn", "params": [{ "k": "var", "name": "a" }], "param_modes": ["borrow"], "ret": { "k": "con", "name": "Str" }, "effects": [] } } ] }, { "kind": "instance", "class": "Show", "type": { "k": "con", "name": "Int" }, "methods": [ { "name": "show", "body": { "t": "lam", "params": ["x"], "paramTypes": [{ "k": "con", "name": "Int" }], "retType": { "k": "con", "name": "Str" }, "body": { "t": "app", "fn": { "t": "var", "name": "int_to_str" }, "args": [{ "t": "var", "name": "x" }] } } } ] } ] }