def touch_order
import bend-collections-laws-crypto@1.0.0.0/proofs/lib/lemmas/src/cache.bend as Cacheimport Base
167def touch_order(order: List<&2, String>, +code: String, touch: Bool) -> List<&2, String>:
168 match touch:
169 case False{}:
170 order
171 case True{}:
172 List.append(&2, String, without(order, code), Con{code, Nil{}})