A collection on which normally-eager operations such as map and filter are implemented lazily.
SDK
- Xcode 8.0+
Framework
- Swift Standard Library
Declaration
protocol LazyCollectionProtocol where Self.Elements : Collection
Overview
Please see Lazy for background; Lazy is an analogous component, but for collections.
To add new lazy collection operations, extend this protocol with methods that return lazy wrappers that are themselves Lazys.