Fixed inline of compose with mutable capture