| Copyright | (C) 2017 Csongor Kiss | 
|---|---|
| License | BSD3 | 
| Maintainer | Csongor Kiss <kiss.csongor.kiss@gmail.com> | 
| Stability | experimental | 
| Portability | non-portable | 
| Safe Haskell | Safe | 
| Language | Haskell2010 | 
Data.Generics.Product.Any
Contents
Description
Derive a variety of lenses generically.
- class HasAny sel a s | s sel k -> a where
Lenses
class HasAny sel a s | s sel k -> a where Source #
Records that have generic lenses.
Minimal complete definition
Methods
A lens that focuses on a part of a product as identified by some
  selector. Currently supported selectors are field names, positions and
  unique types. Compatible with the lens package's Lens
  type.
>>>human ^. the @Int50>>>human ^. the @"name""Tunyasz">>>human ^. the @3"London"