generic-lens-1.0.0.2: Generically derive traversals, lenses and prisms.

Copyright(C) 2017 Csongor Kiss
LicenseBSD3
MaintainerCsongor Kiss <kiss.csongor.kiss@gmail.com>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellSafe
LanguageHaskell2010

Data.Generics.Product.Types

Contents

Description

Derive traversals of a given type in a product.

Synopsis

Traversals

class HasTypes s a Source #

Instances
HasTypes Bool a Source # 
Instance details

Defined in Data.Generics.Product.Types

Methods

types_ :: Traversal' Bool a

HasTypes Char a Source # 
Instance details

Defined in Data.Generics.Product.Types

Methods

types_ :: Traversal' Char a

HasTypes Double a Source # 
Instance details

Defined in Data.Generics.Product.Types

HasTypes Float a Source # 
Instance details

Defined in Data.Generics.Product.Types

Methods

types_ :: Traversal' Float a

HasTypes Int a Source # 
Instance details

Defined in Data.Generics.Product.Types

Methods

types_ :: Traversal' Int a

HasTypes Integer a Source # 
Instance details

Defined in Data.Generics.Product.Types

HasTypes Ordering a Source # 
Instance details

Defined in Data.Generics.Product.Types

HasTypes' (Interesting s a) s a => HasTypes s a Source # 
Instance details

Defined in Data.Generics.Product.Types

Methods

types_ :: Traversal' s a

types :: forall a s. HasTypes s a => Traversal' s a Source #