lean4-htt/tests/lean/listLength.lean
Henrik Böving cad960267b
refactor: port borrow inference to LCNF (#12413)
This PR ports the IR borrow pass to LCNF.
2026-02-11 12:08:17 +00:00

3 lines
84 B
Text

set_option trace.Compiler.inferBorrow true
def f (xs : List Nat) :=
2 * xs.length