lens-4.4.0.2: Lenses, Folds and Traversals

Copyright(C) 2012-2014 Edward Kmett
LicenseBSD-style (see the file LICENSE)
MaintainerEdward Kmett <ekmett@gmail.com>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellTrustworthy
LanguageHaskell98

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 where Source

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

Methods

reversing :: t -> t Source

Instances

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