lens-5.1.1: Lenses, Folds and Traversals
Copyright(C) 2012-16 Edward Kmett
LicenseBSD-style (see the file LICENSE)
MaintainerEdward Kmett <ekmett@gmail.com>
Stabilityprovisional
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

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 a -> Strategy a -> Strategy s Source #

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

seqFoldable = seqOf folded