ComonadStore
public protocol ComonadStore : Comonad
The ComonadStore type class represents those Comonads that support local position information.
-
Type of the position within the ComonadStore
Declaration
Swift
associatedtype S
-
peeks(_:_:)
Extension method -
seek(_:_:)
Extension method -
seeks(_:_:)
Extension method -
experiment(_:_:)
Extension methodExtracts a collection of values from positions that depend on the current one.
Declaration
Parameters
wa
Store.
f
Effectful function computing new positions based on the current one.
Return Value
A collection of values located a the specified positions.