Proof that scanl' is fusion-safe