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 -> Name Source #
conStuffOfConstructor :: Con -> Either Error (Name, ConTysFields) Source #
extractConstructorStuff :: [Con] -> Either Error (Name, ConTysFields) Source #
tupleAdaptors :: Int -> Name Source #
simpleClause :: Body -> Clause Source #