lens-3.8.0.2: Lenses, Folds and Traversals

Portabilityportable
Stabilityprovisional
MaintainerEdward Kmett <ekmett@gmail.com>
Safe HaskellNone

Control.Seq.Lens

Description

A Fold can be used to take the role of Foldable in Control.Seq.

Synopsis

Documentation

seqOf :: Getting (Endo [a]) s t a b -> Strategy a -> Strategy sSource

Evaluate the elements targeted by a Lens, Traversal, Iso, Getter or Fold according to the given strategy.

seqFoldable = seqOf folded