{ "schema": "ailang/v0", "name": "int_to_print_int_borrow", "imports": [], "defs": [ { "kind": "fn", "name": "main", "type": { "k": "fn", "params": [], "ret": { "k": "con", "name": "Unit" }, "effects": ["IO"] }, "params": [], "doc": "Iter eob.1: primitive Int passed to io/print_int. The rule that Term::Do args are Borrow has no observable RC effect here because Int is unboxed; the test pins that no spurious bookkeeping appears (allocs == 0, frees == 0, live == 0).", "body": { "t": "let", "name": "n", "value": { "t": "lit", "lit": { "kind": "int", "value": 7 } }, "body": { "t": "do", "op": "io/print_int", "args": [{ "t": "var", "name": "n" }] } } } ] }