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

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

Data.Generics.Product.HList

Description

Derive an isomorphism between a product type and a flat HList.

Documentation

class IsList (f :: Type) (g :: Type) (as :: [Type]) (bs :: [Type]) | f -> as, g -> bs where Source #

Methods

list :: Iso f g (HList as) (HList bs) Source #

Instances
(Generic f, Generic g, GIsList (Rep f) (Rep g) as bs) => IsList f g as bs Source # 
Instance details

Defined in Data.Generics.Product.HList

Methods

list :: Iso f g (HList as) (HList bs) Source #