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

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

Data.Generics.Product.Param

Description

Derive traversals over type parameters

Documentation

newtype Rec p a (x :: k) :: forall k. Type -> Type -> k -> Type #

Constructors

Rec (K1 R a x) 

class HasParam (p :: Nat) s t a b | p t a -> s, p s b -> t, p s -> a, p t -> b where Source #

Methods

param :: Traversal s t a b Source #

Instances
Context n s t a b => HasParam n s t a b Source # 
Instance details

Defined in Data.Generics.Product.Param

Methods

param :: Traversal s t a b Source #

HasParam p (Void1 a) (Void1 b) a b Source # 
Instance details

Defined in Data.Generics.Product.Param

Methods

param :: Traversal (Void1 a) (Void1 b) a b Source #

data family Param (a :: Nat) (b :: j) :: k #

Instances
newtype Param n (a :: Type) 
Instance details

Defined in Data.Generics.Internal.GenericN

newtype Param n (a :: Type) = StarParam {}