About consume I mean [Accepted] SE-0366: `consume` operator to end the lifetime of a variable binding.
Yes, in the original code operator .~ is used. I just provided an example of how it can look if using |> and KeyPath approach inspired by the swift-prelude library.