Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
makeAdaptorAndInstanceE :: [Maybe (Either () ())] -> Maybe String -> Info -> Either Error (Q [Dec]) Source #
data ConTysFields Source #
lengthCons :: ConTysFields -> Int Source #
varNameOfBinder :: TyVarBndr_ flag -> Name Source #
conStuffOfConstructor :: Con -> Either Error (Name, ConTysFields) Source #
extractConstructorStuff :: [Con] -> Either Error (Name, ConTysFields) Source #
tupleAdaptors :: Int -> Name Source #
mkTyVarsuffix :: String -> String -> TyVarBndrSpec Source #
simpleClause :: Body -> Clause Source #