compilers people: say you have a mutable box B. it is captured by a closure. but...

@wingo@mastodon.social

compilers people: say you have a mutable box B. it is captured by a closure. but by the time the closure is bound, B’s value is fixed. i would like to capture the value and not the box. any great ideas?