morpheus-graphql-core-0.16.0: Morpheus GraphQL Core
Safe HaskellNone
LanguageHaskell2010

Data.Morpheus.Types.Internal.AST

Synopsis

Documentation

data Ref Source #

Constructors

Ref 

Instances

Instances details
Eq Ref Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Methods

(==) :: Ref -> Ref -> Bool #

(/=) :: Ref -> Ref -> Bool #

Ord Ref Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Methods

compare :: Ref -> Ref -> Ordering #

(<) :: Ref -> Ref -> Bool #

(<=) :: Ref -> Ref -> Bool #

(>) :: Ref -> Ref -> Bool #

(>=) :: Ref -> Ref -> Bool #

max :: Ref -> Ref -> Ref #

min :: Ref -> Ref -> Ref #

Show Ref Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Methods

showsPrec :: Int -> Ref -> ShowS #

show :: Ref -> String #

showList :: [Ref] -> ShowS #

Lift Ref Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Methods

lift :: Ref -> Q Exp #

liftTyped :: Ref -> Q (TExp Ref) #

KeyOf FieldName Ref Source # 
Instance details

Defined in Data.Morpheus.Ext.KeyOf

Methods

keyOf :: Ref -> FieldName Source #

data Position Source #

Constructors

Position 

Fields

Instances

Instances details
Eq Position Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Ord Position Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Show Position Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Generic Position Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Associated Types

type Rep Position :: Type -> Type #

Methods

from :: Position -> Rep Position x #

to :: Rep Position x -> Position #

ToJSON Position Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

FromJSON Position Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Lift Position Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

type Rep Position Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

type Rep Position = D1 ('MetaData "Position" "Data.Morpheus.Types.Internal.AST.Base" "morpheus-graphql-core-0.16.0-2MOguxKfSa05keqoOCUsbV" 'False) (C1 ('MetaCons "Position" 'PrefixI 'True) (S1 ('MetaSel ('Just "line") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "column") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

data Message Source #

Instances

Instances details
Eq Message Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Methods

(==) :: Message -> Message -> Bool #

(/=) :: Message -> Message -> Bool #

Ord Message Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Show Message Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

IsString Message Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Methods

fromString :: String -> Message #

Generic Message Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Associated Types

type Rep Message :: Type -> Type #

Methods

from :: Message -> Rep Message x #

to :: Rep Message x -> Message #

Semigroup Message Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Hashable Message Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Methods

hashWithSalt :: Int -> Message -> Int #

hash :: Message -> Int #

ToJSON Message Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

FromJSON Message Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Msg Message Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Lift Message Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Methods

lift :: Message -> Q Exp #

liftTyped :: Message -> Q (TExp Message) #

type Rep Message Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

type Rep Message = D1 ('MetaData "Message" "Data.Morpheus.Types.Internal.AST.Base" "morpheus-graphql-core-0.16.0-2MOguxKfSa05keqoOCUsbV" 'True) (C1 ('MetaCons "Message" 'PrefixI 'True) (S1 ('MetaSel ('Just "readMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

newtype FieldName Source #

Constructors

FieldName 

Fields

Instances

Instances details
Eq FieldName Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Ord FieldName Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Show FieldName Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

IsString FieldName Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Generic FieldName Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Associated Types

type Rep FieldName :: Type -> Type #

Semigroup FieldName Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Hashable FieldName Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

ToJSON FieldName Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

FromJSON FieldName Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

RenderGQL FieldName Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Methods

render :: FieldName -> Rendering

Msg FieldName Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

ToName FieldName Source # 
Instance details

Defined in Data.Morpheus.Internal.TH

Lift FieldName Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

KeyOf FieldName Ref Source # 
Instance details

Defined in Data.Morpheus.Ext.KeyOf

Methods

keyOf :: Ref -> FieldName Source #

KeyOf FieldName (ObjectEntry s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Value

KeyOf FieldName (Variable s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Value

KeyOf FieldName (DirectiveDefinition s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

KeyOf FieldName (Directive s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

KeyOf FieldName (Argument stage) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

Methods

keyOf :: Argument stage -> FieldName Source #

KeyOf FieldName (Selection s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Selection

KeyOf FieldName (Fragment s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Selection

Selectable FieldName (ArgumentDefinition s) (ArgumentsDefinition s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

Selectable FieldName (ArgumentDefinition s) (DirectiveDefinition s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

Selectable FieldName (ArgumentDefinition s) (FieldDefinition OUT s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

KeyOf FieldName (FieldDefinition cat s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

RenderGQL (FieldsDefinition cat s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

Methods

render :: FieldsDefinition cat s -> Rendering

type Rep FieldName Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

type Rep FieldName = D1 ('MetaData "FieldName" "Data.Morpheus.Types.Internal.AST.Base" "morpheus-graphql-core-0.16.0-2MOguxKfSa05keqoOCUsbV" 'True) (C1 ('MetaCons "FieldName" 'PrefixI 'True) (S1 ('MetaSel ('Just "readName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

type CONST = 'CONST Source #

type VALID = 'VALID Source #

type RAW = 'RAW Source #

data Value (stage :: Stage) where Source #

Constructors

ResolvedVariable :: Ref -> Variable VALID -> Value CONST 
VariableValue :: Ref -> Value RAW 
Object :: Object stage -> Value stage 
List :: [Value stage] -> Value stage 
Enum :: TypeName -> Value stage 
Scalar :: ScalarValue -> Value stage 
Null :: Value stage 

Instances

Instances details
Lift (Value a :: Type) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Value

Methods

lift :: Value a -> Q Exp #

liftTyped :: Value a -> Q (TExp (Value a)) #

Eq (Value s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Value

Methods

(==) :: Value s -> Value s -> Bool #

(/=) :: Value s -> Value s -> Bool #

Show (Value a) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Value

Methods

showsPrec :: Int -> Value a -> ShowS #

show :: Value a -> String #

showList :: [Value a] -> ShowS #

ToJSON (Value a) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Value

FromJSON (Value a) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Value

RenderGQL (Value a) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Value

Methods

render :: Value a -> Rendering

Msg (Value a) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Value

Methods

msg :: Value a -> Message Source #

msgSepBy :: Text -> [Value a] -> Message Source #

GQLValue (Value a) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Value

data ScalarValue Source #

Primitive Values for GQLScalar: Int, Float, String, Boolean. for performance reason type Text represents GraphQl String value

Instances

Instances details
Eq ScalarValue Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Value

Show ScalarValue Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Value

Generic ScalarValue Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Value

Associated Types

type Rep ScalarValue :: Type -> Type #

ToJSON ScalarValue Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Value

FromJSON ScalarValue Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Value

RenderGQL ScalarValue Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Value

Methods

render :: ScalarValue -> Rendering

Lift ScalarValue Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Value

type Rep ScalarValue Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Value

class GQLValue a where Source #

Instances

Instances details
GQLValue (Value a) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Value

splitDuplicates :: Eq a => [a] -> ([a], [a]) Source #

removeDuplicates :: Eq a => [a] -> [a] Source #

data Argument (valid :: Stage) Source #

Instances

Instances details
Lift (Argument valid :: Type) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

Methods

lift :: Argument valid -> Q Exp #

liftTyped :: Argument valid -> Q (TExp (Argument valid)) #

KeyOf FieldName (Argument stage) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

Methods

keyOf :: Argument stage -> FieldName Source #

Eq (Argument valid) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

Methods

(==) :: Argument valid -> Argument valid -> Bool #

(/=) :: Argument valid -> Argument valid -> Bool #

Show (Argument valid) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

Methods

showsPrec :: Int -> Argument valid -> ShowS #

show :: Argument valid -> String #

showList :: [Argument valid] -> ShowS #

RenderGQL (Argument s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

Methods

render :: Argument s -> Rendering

type SelectionSet (s :: Stage) = MergeSet s FieldName (Selection s) Source #

data Selection (s :: Stage) where Source #

data Fragment (stage :: Stage) Source #

Instances

Instances details
Lift (Fragment stage :: Type) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Selection

Methods

lift :: Fragment stage -> Q Exp #

liftTyped :: Fragment stage -> Q (TExp (Fragment stage)) #

KeyOf FieldName (Fragment s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Selection

Eq (Fragment stage) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Selection

Methods

(==) :: Fragment stage -> Fragment stage -> Bool #

(/=) :: Fragment stage -> Fragment stage -> Bool #

Show (Fragment stage) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Selection

Methods

showsPrec :: Int -> Fragment stage -> ShowS #

show :: Fragment stage -> String #

showList :: [Fragment stage] -> ShowS #

data Variable (stage :: Stage) Source #

Constructors

Variable 

Instances

Instances details
Lift (Variable stage :: Type) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Value

Methods

lift :: Variable stage -> Q Exp #

liftTyped :: Variable stage -> Q (TExp (Variable stage)) #

KeyOf FieldName (Variable s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Value

Eq (Variable stage) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Value

Methods

(==) :: Variable stage -> Variable stage -> Bool #

(/=) :: Variable stage -> Variable stage -> Bool #

Show (Variable stage) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Value

Methods

showsPrec :: Int -> Variable stage -> ShowS #

show :: Variable stage -> String #

showList :: [Variable stage] -> ShowS #

data ArgumentsDefinition s Source #

Instances

Instances details
Lift (ArgumentsDefinition s :: Type) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

Selectable FieldName (ArgumentDefinition s) (ArgumentsDefinition s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

Eq (ArgumentsDefinition s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

Show (ArgumentsDefinition s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

RenderGQL (ArgumentsDefinition s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

Methods

render :: ArgumentsDefinition s -> Rendering

(Monad m, Failure ValidationErrors m) => FromElems (m :: Type -> Type) (ArgumentDefinition s) (ArgumentsDefinition s :: Type) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

Elems (ArgumentDefinition s) (ArgumentsDefinition s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

Collection (ArgumentDefinition s) (ArgumentsDefinition s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

data FieldDefinition (cat :: TypeCategory) (s :: Stage) Source #

Instances

Instances details
ToCategory FieldDefinition a ANY Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

Methods

toCategory :: forall (s :: Stage). FieldDefinition a s -> FieldDefinition ANY s Source #

Selectable FieldName (ArgumentDefinition s) (ArgumentsDefinition s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

Selectable FieldName (ArgumentDefinition s) (DirectiveDefinition s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

Selectable FieldName (ArgumentDefinition s) (FieldDefinition OUT s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

Lift (FieldDefinition cat s :: Type) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

Methods

lift :: FieldDefinition cat s -> Q Exp #

liftTyped :: FieldDefinition cat s -> Q (TExp (FieldDefinition cat s)) #

KeyOf FieldName (FieldDefinition cat s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

(Monad m, Failure ValidationErrors m) => FromElems (m :: Type -> Type) (ArgumentDefinition s) (ArgumentsDefinition s :: Type) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

Elems (ArgumentDefinition s) (ArgumentsDefinition s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

Collection (ArgumentDefinition s) (ArgumentsDefinition s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

Eq (FieldDefinition cat s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

Methods

(==) :: FieldDefinition cat s -> FieldDefinition cat s -> Bool #

(/=) :: FieldDefinition cat s -> FieldDefinition cat s -> Bool #

Show (FieldDefinition cat s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

RenderGQL (FieldDefinition cat s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

Methods

render :: FieldDefinition cat s -> Rendering

RenderGQL (FieldsDefinition cat s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

Methods

render :: FieldsDefinition cat s -> Rendering

type InputFieldsDefinition s = OrdMap FieldName (InputValueDefinition s) Source #

data TypeContent (b :: Bool) (a :: TypeCategory) (s :: Stage) where Source #

Constructors

DataScalar 

Fields

DataEnum 

Fields

DataInputObject 

Fields

DataInputUnion 

Fields

DataObject 

Fields

DataUnion 

Fields

DataInterface 

Fields

Instances

Instances details
Lift (TypeContent a b s :: Type) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeSystem

Methods

lift :: TypeContent a b s -> Q Exp #

liftTyped :: TypeContent a b s -> Q (TExp (TypeContent a b s)) #

FromCategory (TypeContent TRUE) ANY IMPLEMENTABLE Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeSystem

FromCategory (TypeContent TRUE) ANY OBJECT Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeSystem

FromCategory (TypeContent TRUE) ANY OUT Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeSystem

Methods

fromCategory :: forall (s :: Stage). TypeContent TRUE ANY s -> Maybe (TypeContent TRUE OUT s) Source #

FromCategory (TypeContent TRUE) ANY IN Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeSystem

Methods

fromCategory :: forall (s :: Stage). TypeContent TRUE ANY s -> Maybe (TypeContent TRUE IN s) Source #

ToCategory (TypeContent TRUE) a ANY Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeSystem

Methods

toCategory :: forall (s :: Stage). TypeContent TRUE a s -> TypeContent TRUE ANY s Source #

ToCategory (TypeContent TRUE) OBJECT IMPLEMENTABLE Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeSystem

Show (TypeContent a b s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeSystem

Methods

showsPrec :: Int -> TypeContent a b s -> ShowS #

show :: TypeContent a b s -> String #

showList :: [TypeContent a b s] -> ShowS #

data TypeDefinition (a :: TypeCategory) (s :: Stage) Source #

Instances

Instances details
FromCategory (TypeContent TRUE) cat cat' => FromCategory TypeDefinition cat cat' Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeSystem

Methods

fromCategory :: forall (s :: Stage). TypeDefinition cat s -> Maybe (TypeDefinition cat' s) Source #

ToCategory (TypeContent TRUE) cat cat' => ToCategory TypeDefinition cat cat' Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeSystem

Methods

toCategory :: forall (s :: Stage). TypeDefinition cat s -> TypeDefinition cat' s Source #

Lift (TypeDefinition a s :: Type) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeSystem

Methods

lift :: TypeDefinition a s -> Q Exp #

liftTyped :: TypeDefinition a s -> Q (TExp (TypeDefinition a s)) #

KeyOf TypeName (TypeDefinition a s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeSystem

Selectable TypeName (TypeDefinition ANY s) (Schema s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeSystem

Methods

selectOr :: d -> (TypeDefinition ANY s -> d) -> TypeName -> Schema s -> d Source #

member :: TypeName -> Schema s -> Bool Source #

(Monad m, Failure ValidationErrors m) => FromElems (m :: Type -> Type) (TypeDefinition ANY s) (Schema s :: Type) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeSystem

Methods

fromElems :: [TypeDefinition ANY s] -> m (Schema s) Source #

Show (TypeDefinition a s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeSystem

RenderGQL (TypeDefinition a s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeSystem

Methods

render :: TypeDefinition a s -> Rendering

Elems (TypeDefinition ANY s) (Schema s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeSystem

Methods

elems :: Schema s -> [TypeDefinition ANY s] Source #

data Schema (s :: Stage) Source #

Instances

Instances details
Lift (Schema s :: Type) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeSystem

Methods

lift :: Schema s -> Q Exp #

liftTyped :: Schema s -> Q (TExp (Schema s)) #

Selectable TypeName (TypeDefinition ANY s) (Schema s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeSystem

Methods

selectOr :: d -> (TypeDefinition ANY s -> d) -> TypeName -> Schema s -> d Source #

member :: TypeName -> Schema s -> Bool Source #

Show (Schema s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeSystem

Methods

showsPrec :: Int -> Schema s -> ShowS #

show :: Schema s -> String #

showList :: [Schema s] -> ShowS #

RenderGQL (Schema s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeSystem

Methods

render :: Schema s -> Rendering

(Monad m, Failure ValidationErrors m) => FromElems (m :: Type -> Type) (TypeDefinition ANY s) (Schema s :: Type) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeSystem

Methods

fromElems :: [TypeDefinition ANY s] -> m (Schema s) Source #

Elems (TypeDefinition ANY s) (Schema s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeSystem

Methods

elems :: Schema s -> [TypeDefinition ANY s] Source #

data TypeRef Source #

Instances

Instances details
Eq TypeRef Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Methods

(==) :: TypeRef -> TypeRef -> Bool #

(/=) :: TypeRef -> TypeRef -> Bool #

Show TypeRef Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

RenderGQL TypeRef Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Methods

render :: TypeRef -> Rendering

Msg TypeRef Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Lift TypeRef Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Methods

lift :: TypeRef -> Q Exp #

liftTyped :: TypeRef -> Q (TExp TypeRef) #

data OperationType Source #

Constructors

Query 
Subscription 
Mutation 

Instances

Instances details
Eq OperationType Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Show OperationType Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Generic OperationType Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Associated Types

type Rep OperationType :: Type -> Type #

Hashable OperationType Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

RenderGQL OperationType Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Methods

render :: OperationType -> Rendering

Msg OperationType Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Lift OperationType Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

KeyOf OperationType RootOperationTypeDefinition Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeSystem

Selectable OperationType RootOperationTypeDefinition SchemaDefinition Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeSystem

type Rep OperationType Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

type Rep OperationType = D1 ('MetaData "OperationType" "Data.Morpheus.Types.Internal.AST.Base" "morpheus-graphql-core-0.16.0-2MOguxKfSa05keqoOCUsbV" 'False) (C1 ('MetaCons "Query" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Subscription" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Mutation" 'PrefixI 'False) (U1 :: Type -> Type)))

data Directive (s :: Stage) Source #

Instances

Instances details
Lift (Directive s :: Type) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

Methods

lift :: Directive s -> Q Exp #

liftTyped :: Directive s -> Q (TExp (Directive s)) #

KeyOf FieldName (Directive s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

Eq (Directive s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

Methods

(==) :: Directive s -> Directive s -> Bool #

(/=) :: Directive s -> Directive s -> Bool #

Show (Directive s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

RenderGQL (Directive s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

Methods

render :: Directive s -> Rendering

data ConsD cat s Source #

Constructors

ConsD 

Fields

Instances

Instances details
Show (ConsD cat s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TH

Methods

showsPrec :: Int -> ConsD cat s -> ShowS #

show :: ConsD cat s -> String #

showList :: [ConsD cat s] -> ShowS #

type TypeLib s = SafeHashMap TypeName (TypeDefinition ANY s) Source #

toNullable :: Nullable a => a -> a Source #

isNullable :: Nullable a => a -> Bool Source #

lookupWith :: Eq k => (a -> k) -> k -> [a] -> Maybe a Source #

data GQLQuery Source #

Instances

Instances details
Show GQLQuery Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST

Lift GQLQuery Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST

newtype OrdMap k a Source #

Constructors

OrdMap 

Fields

Instances

Instances details
(Eq k, Hashable k) => Selectable k a (OrdMap k a) Source # 
Instance details

Defined in Data.Morpheus.Ext.OrdMap

Methods

selectOr :: d -> (a -> d) -> k -> OrdMap k a -> d Source #

member :: k -> OrdMap k a -> Bool Source #

(Lift a, Lift k, Eq k, Hashable k) => Lift (OrdMap k a :: Type) Source # 
Instance details

Defined in Data.Morpheus.Ext.OrdMap

Methods

lift :: OrdMap k a -> Q Exp #

liftTyped :: OrdMap k a -> Q (TExp (OrdMap k a)) #

(Eq k, Hashable k) => Elems a (OrdMap k a) Source # 
Instance details

Defined in Data.Morpheus.Ext.OrdMap

Methods

elems :: OrdMap k a -> [a] Source #

(KeyOf k a, Hashable k) => Collection a (OrdMap k a) Source # 
Instance details

Defined in Data.Morpheus.Ext.OrdMap

Methods

empty :: OrdMap k a Source #

singleton :: a -> OrdMap k a Source #

Functor (OrdMap k) Source # 
Instance details

Defined in Data.Morpheus.Ext.OrdMap

Methods

fmap :: (a -> b) -> OrdMap k a -> OrdMap k b #

(<$) :: a -> OrdMap k b -> OrdMap k a #

(Eq k, Hashable k) => Foldable (OrdMap k) Source # 
Instance details

Defined in Data.Morpheus.Ext.OrdMap

Methods

fold :: Monoid m => OrdMap k m -> m #

foldMap :: Monoid m => (a -> m) -> OrdMap k a -> m #

foldMap' :: Monoid m => (a -> m) -> OrdMap k a -> m #

foldr :: (a -> b -> b) -> b -> OrdMap k a -> b #

foldr' :: (a -> b -> b) -> b -> OrdMap k a -> b #

foldl :: (b -> a -> b) -> b -> OrdMap k a -> b #

foldl' :: (b -> a -> b) -> b -> OrdMap k a -> b #

foldr1 :: (a -> a -> a) -> OrdMap k a -> a #

foldl1 :: (a -> a -> a) -> OrdMap k a -> a #

toList :: OrdMap k a -> [a] #

null :: OrdMap k a -> Bool #

length :: OrdMap k a -> Int #

elem :: Eq a => a -> OrdMap k a -> Bool #

maximum :: Ord a => OrdMap k a -> a #

minimum :: Ord a => OrdMap k a -> a #

sum :: Num a => OrdMap k a -> a #

product :: Num a => OrdMap k a -> a #

(Eq k, Hashable k) => Traversable (OrdMap k) Source # 
Instance details

Defined in Data.Morpheus.Ext.OrdMap

Methods

traverse :: Applicative f => (a -> f b) -> OrdMap k a -> f (OrdMap k b) #

sequenceA :: Applicative f => OrdMap k (f a) -> f (OrdMap k a) #

mapM :: Monad m => (a -> m b) -> OrdMap k a -> m (OrdMap k b) #

sequence :: Monad m => OrdMap k (m a) -> m (OrdMap k a) #

(NameCollision a, Monad m, Failure ValidationErrors m, KeyOf k a, Hashable k) => FromElems (m :: Type -> Type) a (OrdMap k a :: Type) Source # 
Instance details

Defined in Data.Morpheus.Ext.OrdMap

Methods

fromElems :: [a] -> m (OrdMap k a) Source #

(Eq k, Eq a) => Eq (OrdMap k a) Source # 
Instance details

Defined in Data.Morpheus.Ext.OrdMap

Methods

(==) :: OrdMap k a -> OrdMap k a -> Bool #

(/=) :: OrdMap k a -> OrdMap k a -> Bool #

(Show k, Show a) => Show (OrdMap k a) Source # 
Instance details

Defined in Data.Morpheus.Ext.OrdMap

Methods

showsPrec :: Int -> OrdMap k a -> ShowS #

show :: OrdMap k a -> String #

showList :: [OrdMap k a] -> ShowS #

RenderGQL (FieldsDefinition cat s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

Methods

render :: FieldsDefinition cat s -> Rendering

data GQLError Source #

Constructors

GQLError 

Instances

Instances details
Eq GQLError Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Show GQLError Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Generic GQLError Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Associated Types

type Rep GQLError :: Type -> Type #

Methods

from :: GQLError -> Rep GQLError x #

to :: Rep GQLError x -> GQLError #

ToJSON GQLError Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

FromJSON GQLError Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Monad m => Failure GQLErrors (ResultT event m) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.Resolving.Core

Methods

failure :: GQLErrors -> ResultT event m v Source #

Failure [GQLError] (Result ev) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.Resolving.Core

Methods

failure :: [GQLError] -> Result ev v Source #

type Rep GQLError Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

type Rep GQLError = D1 ('MetaData "GQLError" "Data.Morpheus.Types.Internal.AST.Base" "morpheus-graphql-core-0.16.0-2MOguxKfSa05keqoOCUsbV" 'False) (C1 ('MetaCons "GQLError" 'PrefixI 'True) (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Message) :*: S1 ('MetaSel ('Just "locations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Position])))

data ObjectEntry (s :: Stage) Source #

Constructors

ObjectEntry 

Instances

Instances details
Lift (ObjectEntry a :: Type) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Value

Methods

lift :: ObjectEntry a -> Q Exp #

liftTyped :: ObjectEntry a -> Q (TExp (ObjectEntry a)) #

KeyOf FieldName (ObjectEntry s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Value

Eq (ObjectEntry s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Value

Show (ObjectEntry s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Value

RenderGQL (ObjectEntry a) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Value

Methods

render :: ObjectEntry a -> Rendering

type ANY = 'ANY Source #

type IN = 'IN Source #

type OUT = 'OUT Source #

type OBJECT = 'OBJECT Source #

type IMPLEMENTABLE = 'IMPLEMENTABLE Source #

fromAny :: FromCategory a ANY k => a ANY (s :: Stage) -> Maybe (a k s) Source #

toAny :: ToCategory a k ANY => a (k :: TypeCategory) (s :: Stage) -> a ANY s Source #

type TRUE = 'True Source #

newtype TypeName Source #

Constructors

TypeName 

Fields

Instances

Instances details
Eq TypeName Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Ord TypeName Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Show TypeName Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

IsString TypeName Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Generic TypeName Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Associated Types

type Rep TypeName :: Type -> Type #

Methods

from :: TypeName -> Rep TypeName x #

to :: Rep TypeName x -> TypeName #

Semigroup TypeName Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Hashable TypeName Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Methods

hashWithSalt :: Int -> TypeName -> Int #

hash :: TypeName -> Int #

ToJSON TypeName Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

FromJSON TypeName Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

RenderGQL TypeName Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Methods

render :: TypeName -> Rendering

Msg TypeName Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

ToName TypeName Source # 
Instance details

Defined in Data.Morpheus.Internal.TH

Methods

toName :: TypeName -> Name Source #

Lift TypeName Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

KeyOf TypeName TypeNameRef Source # 
Instance details

Defined in Data.Morpheus.Ext.KeyOf

KeyOf TypeName SchemaDefinition Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeSystem

KeyOf TypeName UnionTag Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Selection

KeyOf TypeName (TypeDefinition a s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeSystem

KeyOf TypeName (UnionMember cat s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeSystem

Methods

keyOf :: UnionMember cat s -> TypeName Source #

Selectable TypeName (TypeDefinition ANY s) (Schema s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeSystem

Methods

selectOr :: d -> (TypeDefinition ANY s -> d) -> TypeName -> Schema s -> d Source #

member :: TypeName -> Schema s -> Bool Source #

type Rep TypeName Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

type Rep TypeName = D1 ('MetaData "TypeName" "Data.Morpheus.Types.Internal.AST.Base" "morpheus-graphql-core-0.16.0-2MOguxKfSa05keqoOCUsbV" 'True) (C1 ('MetaCons "TypeName" 'PrefixI 'True) (S1 ('MetaSel ('Just "readTypeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

class Msg a where Source #

Minimal complete definition

msg

Methods

msg :: a -> Message Source #

msgSepBy :: Text -> [a] -> Message Source #

Instances

Instances details
Msg ByteString Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Msg String Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Msg Text Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Msg Value Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Msg TypeRef Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Msg OperationType Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Msg TypeName Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Msg FieldName Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Msg InternalError Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Msg Message Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Msg DirectiveLocation Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.DirectiveLocation

Msg (Value a) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Value

Methods

msg :: Value a -> Message Source #

msgSepBy :: Text -> [Value a] -> Message Source #

Msg (UnionMember cat s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeSystem

Methods

msg :: UnionMember cat s -> Message Source #

msgSepBy :: Text -> [UnionMember cat s] -> Message Source #

isEnum :: [ConsD cat s] -> Bool Source #

data FieldContent (bool :: Bool) (cat :: TypeCategory) (s :: Stage) where Source #

Constructors

DefaultInputValue 

Fields

FieldArgs 

Fields

Instances

Instances details
Lift (FieldContent bool cat s :: Type) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

Methods

lift :: FieldContent bool cat s -> Q Exp #

liftTyped :: FieldContent bool cat s -> Q (TExp (FieldContent bool cat s)) #

ToCategory (FieldContent TRUE) a ANY Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

Methods

toCategory :: forall (s :: Stage). FieldContent TRUE a s -> FieldContent TRUE ANY s Source #

Eq (FieldContent bool cat s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

Methods

(==) :: FieldContent bool cat s -> FieldContent bool cat s -> Bool #

(/=) :: FieldContent bool cat s -> FieldContent bool cat s -> Bool #

Show (FieldContent bool cat s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Fields

Methods

showsPrec :: Int -> FieldContent bool cat s -> ShowS #

show :: FieldContent bool cat s -> String #

showList :: [FieldContent bool cat s] -> ShowS #

data TypeNameTH Source #

Constructors

TypeNameTH 

Instances

Instances details
Show TypeNameTH Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TH

data UnionMember (cat :: TypeCategory) (s :: Stage) Source #

Constructors

UnionMember 

Instances

Instances details
Lift (UnionMember cat s :: Type) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeSystem

Methods

lift :: UnionMember cat s -> Q Exp #

liftTyped :: UnionMember cat s -> Q (TExp (UnionMember cat s)) #

KeyOf TypeName (UnionMember cat s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeSystem

Methods

keyOf :: UnionMember cat s -> TypeName Source #

Eq (UnionMember cat s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeSystem

Methods

(==) :: UnionMember cat s -> UnionMember cat s -> Bool #

(/=) :: UnionMember cat s -> UnionMember cat s -> Bool #

Show (UnionMember cat s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeSystem

Methods

showsPrec :: Int -> UnionMember cat s -> ShowS #

show :: UnionMember cat s -> String #

showList :: [UnionMember cat s] -> ShowS #

RenderGQL (UnionMember cat s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeSystem

Methods

render :: UnionMember cat s -> Rendering

Msg (UnionMember cat s) Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeSystem

Methods

msg :: UnionMember cat s -> Message Source #

msgSepBy :: Text -> [UnionMember cat s] -> Message Source #

type UnionSelection (s :: Stage) = MergeSet s TypeName UnionTag Source #

newtype InternalError Source #

Constructors

InternalError 

Instances

Instances details
Eq InternalError Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Ord InternalError Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Show InternalError Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

IsString InternalError Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Generic InternalError Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Associated Types

type Rep InternalError :: Type -> Type #

Semigroup InternalError Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Hashable InternalError Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

ToJSON InternalError Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

FromJSON InternalError Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

Msg InternalError Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

type Rep InternalError Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.Base

type Rep InternalError = D1 ('MetaData "InternalError" "Data.Morpheus.Types.Internal.AST.Base" "morpheus-graphql-core-0.16.0-2MOguxKfSa05keqoOCUsbV" 'True) (C1 ('MetaCons "InternalError" 'PrefixI 'True) (S1 ('MetaSel ('Just "readInternalError") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

newtype Typed (cat :: TypeCategory) (s :: Stage) a Source #

used for preserving type information from untyped values see function typed

Constructors

Typed a 

typed :: (a c s -> b) -> a c s -> Typed c s b Source #

untyped :: (a -> b) -> Typed c s a -> b Source #

type family ELEM (elemKind :: TypeCategory) (setOfKind :: TypeCategory) :: Bool Source #

Instances

Instances details
type ELEM a ANY Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeCategory

type ELEM a ANY = TRUE
type ELEM LEAF LEAF Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeCategory

type ELEM LEAF IMPLEMENTABLE Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeCategory

type ELEM LEAF OBJECT Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeCategory

type ELEM LEAF OUT Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeCategory

type ELEM LEAF OUT = TRUE
type ELEM LEAF IN Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeCategory

type ELEM LEAF IN = TRUE
type ELEM IMPLEMENTABLE LEAF Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeCategory

type ELEM IMPLEMENTABLE IMPLEMENTABLE Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeCategory

type ELEM IMPLEMENTABLE OBJECT Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeCategory

type ELEM IMPLEMENTABLE OUT Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeCategory

type ELEM IMPLEMENTABLE IN Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeCategory

type ELEM OBJECT LEAF Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeCategory

type ELEM OBJECT IMPLEMENTABLE Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeCategory

type ELEM OBJECT OBJECT Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeCategory

type ELEM OBJECT OUT Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeCategory

type ELEM OBJECT IN Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeCategory

type ELEM ANY a Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeCategory

type ELEM ANY a = TRUE
type ELEM OUT IMPLEMENTABLE Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeCategory

type ELEM OUT OBJECT Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeCategory

type ELEM OUT OUT Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeCategory

type ELEM OUT OUT = TRUE
type ELEM OUT IN Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeCategory

type ELEM OUT IN = FALSE
type ELEM IN IMPLEMENTABLE Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeCategory

type ELEM IN OBJECT Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeCategory

type ELEM IN OUT Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeCategory

type ELEM IN OUT = FALSE
type ELEM IN IN Source # 
Instance details

Defined in Data.Morpheus.Types.Internal.AST.TypeCategory

type ELEM IN IN = TRUE

type LEAF = 'LEAF Source #

class ToCategory a (k :: TypeCategory) (k' :: TypeCategory) where Source #

Methods

toCategory :: a k (s :: Stage) -> a k' s Source #