Lock.pack.ins.put: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/lock/lock.bend as Lock Lines 477-485 of ezx@1.11.0.0/src/lock/lock.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/lock/lock.bend&start_line=477&end_line=485 import Base # where a package goes among the packages already in order. The rest of the # insertion is a parameter, because two defs that call each other are not # allowed. def pack.ins.put(le: Bool, item: Pack, head: Pack, tail: List<&2, Pack>, rest: List<&2, Pack>) -> List<&2, Pack>: match le: case True{}: item <> (head <> tail) case False{}: head <> rest Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/lock/lock.bend&name=Pack