{ "schema": "ailang/v0", "name": "test_recur_not_in_tail_position", "imports": [], "defs": [ { "kind": "fn", "name": "main", "type": { "k": "fn", "params": [], "ret": { "k": "con", "name": "Int" }, "effects": [] }, "params": [], "doc": "Iter it.1: recur in the lhs of a seq (non-tail) fires recur-not-in-tail-position.", "body": { "t": "loop", "binders": [ { "name": "i", "type": { "k": "con", "name": "Int" }, "init": { "t": "lit", "lit": { "kind": "int", "value": 0 } } } ], "body": { "t": "seq", "lhs": { "t": "recur", "args": [ { "t": "var", "name": "i" } ] }, "rhs": { "t": "lit", "lit": { "kind": "int", "value": 0 } } } } } ] }