Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
class FirstParameter a e | a -> e where Source #
Nothing
getFirstParameter :: a -> e Source #
default getFirstParameter :: (Generic a, GFirstParameter (Rep a) e) => a -> e Source #
setFirstParameter :: e -> a -> a Source #
default setFirstParameter :: (Generic a, GFirstParameter (Rep a) e) => e -> a -> a Source #
Instances
class GFirstParameter f e where Source #
getFirstParameter' :: f a -> e Source #
setFirstParameter' :: e -> f a -> f a Source #