Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
data CodeGenConstructor Source #
Instances
Show CodeGenConstructor Source # | |
Defined in Data.Morpheus.CodeGen.Internal.AST showsPrec :: Int -> CodeGenConstructor -> ShowS # show :: CodeGenConstructor -> String # showList :: [CodeGenConstructor] -> ShowS # | |
Printer CodeGenConstructor Source # | |
Defined in Data.Morpheus.CodeGen.Internal.AST print :: CodeGenConstructor -> HSDoc ann Source # |
data CodeGenField Source #
CodeGenField | |
|
Instances
Show CodeGenField Source # | |
Defined in Data.Morpheus.CodeGen.Internal.AST showsPrec :: Int -> CodeGenField -> ShowS # show :: CodeGenField -> String # showList :: [CodeGenField] -> ShowS # | |
Printer CodeGenField Source # | |
Defined in Data.Morpheus.CodeGen.Internal.AST print :: CodeGenField -> HSDoc ann Source # |
data CodeGenType Source #
Instances
Show CodeGenType Source # | |
Defined in Data.Morpheus.CodeGen.Internal.AST showsPrec :: Int -> CodeGenType -> ShowS # show :: CodeGenType -> String # showList :: [CodeGenType] -> ShowS # | |
PrintDec CodeGenType Source # | |
Defined in Data.Morpheus.CodeGen.TH | |
Pretty CodeGenType Source # | |
Defined in Data.Morpheus.CodeGen.Internal.AST pretty :: CodeGenType -> Doc ann # prettyList :: [CodeGenType] -> Doc ann # |
data CodeGenTypeName Source #
Instances
Show CodeGenTypeName Source # | |
Defined in Data.Morpheus.CodeGen.Internal.AST showsPrec :: Int -> CodeGenTypeName -> ShowS # show :: CodeGenTypeName -> String # showList :: [CodeGenTypeName] -> ShowS # | |
Printer CodeGenTypeName Source # | |
Defined in Data.Morpheus.CodeGen.Internal.AST print :: CodeGenTypeName -> HSDoc ann Source # | |
PrintType CodeGenTypeName Source # | |
Defined in Data.Morpheus.CodeGen.TH printType :: CodeGenTypeName -> TypeQ Source # | |
ToName CodeGenTypeName Source # | |
Defined in Data.Morpheus.CodeGen.TH toName :: CodeGenTypeName -> Name Source # |
data DerivingClass Source #
Instances
Show DerivingClass Source # | |
Defined in Data.Morpheus.CodeGen.Internal.AST showsPrec :: Int -> DerivingClass -> ShowS # show :: DerivingClass -> String # showList :: [DerivingClass] -> ShowS # | |
Pretty DerivingClass Source # | |
Defined in Data.Morpheus.CodeGen.Internal.AST pretty :: DerivingClass -> Doc ann # prettyList :: [DerivingClass] -> Doc ann # |
data FIELD_TYPE_WRAPPER Source #
MONAD | |
SUBSCRIPTION Name | |
PARAMETRIZED | |
ARG TypeName | |
TAGGED_ARG Name FieldName TypeRef | |
GQL_WRAPPER TypeWrapper |
Instances
Show FIELD_TYPE_WRAPPER Source # | |
Defined in Data.Morpheus.CodeGen.Internal.AST showsPrec :: Int -> FIELD_TYPE_WRAPPER -> ShowS # show :: FIELD_TYPE_WRAPPER -> String # showList :: [FIELD_TYPE_WRAPPER] -> ShowS # |
data ModuleDefinition dec Source #
ModuleDefinition | |
|
Instances
Pretty dec => Pretty (ModuleDefinition dec) Source # | |
Defined in Data.Morpheus.CodeGen.Internal.AST pretty :: ModuleDefinition dec -> Doc ann # prettyList :: [ModuleDefinition dec] -> Doc ann # |
data TypeClassInstance body Source #
TypeClassInstance | |
|
Instances
Show body => Show (TypeClassInstance body) Source # | |
Defined in Data.Morpheus.CodeGen.Internal.AST showsPrec :: Int -> TypeClassInstance body -> ShowS # show :: TypeClassInstance body -> String # showList :: [TypeClassInstance body] -> ShowS # | |
PrintExp body => PrintDec (TypeClassInstance body) Source # | |
Defined in Data.Morpheus.CodeGen.TH | |
Pretty a => Pretty (TypeClassInstance a) Source # | |
Defined in Data.Morpheus.CodeGen.Internal.AST pretty :: TypeClassInstance a -> Doc ann # prettyList :: [TypeClassInstance a] -> Doc ann # |
data AssociatedType Source #
Instances
Show AssociatedType Source # | |
Defined in Data.Morpheus.CodeGen.Internal.AST showsPrec :: Int -> AssociatedType -> ShowS # show :: AssociatedType -> String # showList :: [AssociatedType] -> ShowS # | |
PrintType AssociatedType Source # | |
Defined in Data.Morpheus.CodeGen.TH printType :: AssociatedType -> TypeQ Source # | |
Pretty AssociatedType Source # | |
Defined in Data.Morpheus.CodeGen.Internal.AST pretty :: AssociatedType -> Doc ann # prettyList :: [AssociatedType] -> Doc ann # |
data MethodArgument Source #
Instances
Show MethodArgument Source # | |
Defined in Data.Morpheus.CodeGen.Internal.AST showsPrec :: Int -> MethodArgument -> ShowS # show :: MethodArgument -> String # showList :: [MethodArgument] -> ShowS # | |
Pretty MethodArgument Source # | |
Defined in Data.Morpheus.CodeGen.Internal.AST pretty :: MethodArgument -> Doc ann # prettyList :: [MethodArgument] -> Doc ann # |
printTHName :: Name -> Doc ann Source #
data PrintableValue where Source #
PrintableValue :: forall a. (Show a, Lift a) => a -> PrintableValue |
Instances
Show PrintableValue Source # | |
Defined in Data.Morpheus.CodeGen.Internal.AST showsPrec :: Int -> PrintableValue -> ShowS # show :: PrintableValue -> String # showList :: [PrintableValue] -> ShowS # | |
PrintExp PrintableValue Source # | |
Defined in Data.Morpheus.CodeGen.TH printExp :: PrintableValue -> ExpQ Source # | |
Pretty PrintableValue Source # | |
Defined in Data.Morpheus.CodeGen.Internal.AST pretty :: PrintableValue -> Doc ann # prettyList :: [PrintableValue] -> Doc ann # |