lens-4.4: Lenses, Folds and Traversals

Portabilitynon-portable
Stabilityexperimental
MaintainerEdward Kmett <ekmett@gmail.com>
Safe HaskellTrustworthy

Control.Lens.Internal.Iso

Description

 

Synopsis

Documentation

data Exchange a b s t Source

This is used internally by the Iso code to provide efficient access to the two functions that make up an isomorphism.

Constructors

Exchange (s -> a) (b -> t) 

Instances

class Reversing t whereSource

This class provides a generalized notion of list reversal extended to other containers.

Methods

reversing :: t -> tSource