lens-4.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.Prism

Description

 

Synopsis

Documentation

data Market a b s t Source

This type is used internally by the Prism code to provide efficient access to the two parts of a Prism.

Constructors

Market (b -> t) (s -> Either t a) 

Instances

Choice (Market a b) 
Profunctor (Market a b) 
Functor (Market a b s) 

type Market' a = Market a a Source

type Market' a s t = Market a a s t