scan(_:_:)

Reductions.swift:585

This declaration is deprecated: Use reductions(_:_:) instead.

func scan<Result>(_ initial: Result, _ transform: (Result, Element) throws -> Result) rethrows -> [Result]