lens-3.10.3: 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

Profunctor (Exchange a b) 
Functor (Exchange a b s) 

class Reversing t whereSource

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

Methods

reversing :: t -> tSource

Instances

Reversing ByteString 
Reversing ByteString 
Reversing Text 
Reversing Text 
Reversing [a] 
Reversing (Vector a) 
Prim a => Reversing (Vector a) 
Storable a => Reversing (Vector a) 
Unbox a => Reversing (Vector a) 
Reversing (Seq a) 
Reversing (Deque a)