derive-2.5.13: A program and library to derive instances for data types

Safe Haskell | None

Language.Haskell.Convert

# Documentation

class (Typeable a, Typeable b, Show a, Show b) => Convert a b Source

Instances

Convert Type Type |
Convert Type Asst |
Convert Dec Decl |
Convert Name QName |
Convert Name Name |
Convert Name TyVarBind |
Convert Pred Asst |
Convert TyVarBndr TyVarBind |
Convert QName Name |
Convert Name Name |
Convert QOp Exp |
Convert Decl Dec |
Convert Match Clause |
Convert QualConDecl Con |
Convert ConDecl Con |
Convert BangType StrictType |
Convert Rhs Body |
Convert Type Type |
Convert TyVarBind Name |
Convert TyVarBind TyVarBndr |
Convert Kind Kind |
Convert Asst Type |
Convert Asst Pred |
Convert Literal Lit |
Convert Exp Exp |
Convert Pat Pat |
Convert PatField FieldPat |
Convert Stmt Stmt |
Convert QualStmt Stmt |
Convert FieldUpdate FieldExp |
Convert Alt Match |
Convert GuardedAlts Body |
Convert Con QualConDecl |
Convert Con ConDecl |
Convert StrictType BangType |
Convert Kind Kind |
Convert Binds [Dec] |
Convert GuardedRhs (Guard, Exp) |
Convert GuardedAlt (Guard, Exp) |
Convert a b => Convert [a] [b] |
Convert ([Name], BangType) [VarStrictType] |

convert :: forall a b. Convert a b => a -> bSource