Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- matcher :: [Match] -> Exp
- productGetter :: Name -> Int -> Int -> Exp
- productSetter :: Name -> Int -> Int -> Exp
- adtConstructorNarrower :: Name -> Int -> Exp
- enumConstructorToBool :: Name -> Exp
- singleConstructorAdtToTuple :: Name -> Int -> Exp
- tupleToProduct :: Name -> Int -> Exp
- namedFieldSetter :: Name -> Exp
Documentation
productGetter :: Name -> Int -> Int -> Exp Source #
Lambda expression, which extracts a product member by index.
productSetter :: Name -> Int -> Int -> Exp Source #
Lambda expression, which sets a product member by index.
enumConstructorToBool :: Name -> Exp Source #
namedFieldSetter :: Name -> Exp Source #