Modulegeneric-lens-core-2.2.1.0Haskell2010
Data.Generics.Internal.Families.Changing
- 2 types
- 1 class
- Packagegeneric-lens-core-2.2.1.0
- Exports8
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceChanging.hs
Equations
LookupParam (param n) m = 'NothingLookupParam (a (_1 m)) n = IfEq m n ('Just0
) (MaybeAdd (LookupParam a n)1
)LookupParam (a _1) n = MaybeAdd (LookupParam a n)1
LookupParam a _1 = 'Nothing
Ensure that the types a and b are both applications of the same
constructor. The arguments may be different.