Copyright | (C) 2018 Csongor Kiss |
---|---|
License | BSD3 |
Maintainer | Csongor Kiss <kiss.csongor.kiss@gmail.com> |
Stability | experimental |
Portability | non-portable |
Safe Haskell | Safe |
Language | Haskell2010 |
Derive traversals of a given type in a product.
Synopsis
- class HasTypes s a
- types :: forall a s. HasTypes s a => Traversal' s a
- type Interesting f a = Snd (Interesting' (Rep f) a '[f])
Traversals
Instances
types :: forall a s. HasTypes s a => Traversal' s a Source #
type Interesting f a = Snd (Interesting' (Rep f) a '[f]) Source #