| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Prolog.Programming.Types
Contents
Documentation
type TimeoutDuration = Int Source #
Constructors
| QueryStyle | |
| ResolutionStyle |
Instances
| FromJSON TreeStyle Source # | |||||
Defined in Prolog.Programming.Parser | |||||
| Reader TreeStyle Source # | |||||
Defined in Prolog.Programming.Types | |||||
| ToDoc TreeStyle Source # | |||||
| Data TreeStyle Source # | |||||
Defined in Prolog.Programming.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TreeStyle -> c TreeStyle # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TreeStyle # toConstr :: TreeStyle -> Constr # dataTypeOf :: TreeStyle -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TreeStyle) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TreeStyle) # gmapT :: (forall b. Data b => b -> b) -> TreeStyle -> TreeStyle # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TreeStyle -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TreeStyle -> r # gmapQ :: (forall d. Data d => d -> u) -> TreeStyle -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> TreeStyle -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> TreeStyle -> m TreeStyle # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TreeStyle -> m TreeStyle # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TreeStyle -> m TreeStyle # | |||||
| Generic TreeStyle Source # | |||||
Defined in Prolog.Programming.Types Associated Types
| |||||
| Show TreeStyle Source # | |||||
| type Rep TreeStyle Source # | |||||
Defined in Prolog.Programming.Types | |||||
type IncludeTask = Include () Source #
type IncludeHidden = Include Void Source #
Instances
| FromJSON IncludeHidden Source # | |||||
Defined in Prolog.Programming.Parser Methods parseJSON :: Value -> Parser IncludeHidden # parseJSONList :: Value -> Parser [IncludeHidden] # | |||||
| FromJSON IncludeTask Source # | |||||
Defined in Prolog.Programming.Parser | |||||
| Reader a => Reader (Include a) Source # | |||||
Defined in Prolog.Programming.Types | |||||
| ToDoc a => ToDoc (Include a) Source # | |||||
| Data a => Data (Include a) Source # | |||||
Defined in Prolog.Programming.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Include a -> c (Include a) # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (Include a) # toConstr :: Include a -> Constr # dataTypeOf :: Include a -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (Include a)) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (Include a)) # gmapT :: (forall b. Data b => b -> b) -> Include a -> Include a # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Include a -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Include a -> r # gmapQ :: (forall d. Data d => d -> u) -> Include a -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Include a -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Include a -> m (Include a) # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Include a -> m (Include a) # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Include a -> m (Include a) # | |||||
| Generic (Include a) Source # | |||||
Defined in Prolog.Programming.Types Associated Types
| |||||
| Show a => Show (Include a) Source # | |||||
| Eq a => Eq (Include a) Source # | |||||
| type Rep (Include a) Source # | |||||
Defined in Prolog.Programming.Types type Rep (Include a) = D1 ('MetaData "Include" "Prolog.Programming.Types" "prolog-programming-task-0.1.0.0-7IUtSVNNcc2AE96f0GC5ls" 'False) (C1 ('MetaCons "Yes" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Filtered" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "No" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a)))) | |||||
type AllowListMatching = Bool Source #
type ShowSWISHButton = Bool Source #
data TaskConfig Source #
Constructors
Instances
data TaskInstance Source #
Constructors
| TaskInstance | |
Fields
| |
Instances
| Reader TaskInstance Source # | |||||
Defined in Prolog.Programming.Types Methods atomic_reader :: Parser TaskInstance # atomic_readerPrec :: Int -> Parser TaskInstance # reader :: Parser TaskInstance # readerPrec :: Int -> Parser TaskInstance # readerList :: Parser [TaskInstance] # | |||||
| ToDoc TaskInstance Source # | |||||
Defined in Prolog.Programming.Types | |||||
| Generic TaskInstance Source # | |||||
Defined in Prolog.Programming.Types Associated Types
| |||||
| Show TaskInstance Source # | |||||
Defined in Prolog.Programming.Types Methods showsPrec :: Int -> TaskInstance -> ShowS # show :: TaskInstance -> String # showList :: [TaskInstance] -> ShowS # | |||||
| type Rep TaskInstance Source # | |||||
Defined in Prolog.Programming.Types type Rep TaskInstance = D1 ('MetaData "TaskInstance" "Prolog.Programming.Types" "prolog-programming-task-0.1.0.0-7IUtSVNNcc2AE96f0GC5ls" 'False) (C1 ('MetaCons "TaskInstance" 'PrefixI 'True) ((S1 ('MetaSel ('Just "taskConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TaskConfig) :*: S1 ('MetaSel ('Just "sampleSolution") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ProgramClause])) :*: (S1 ('MetaSel ('Just "taskDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Code) :*: (S1 ('MetaSel ('Just "visiblePredicates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ProgramClause]) :*: S1 ('MetaSel ('Just "hiddenPredicates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ProgramClause]))))) | |||||
Constructors
| Spec | |
Fields | |
Instances
| FromJSON Spec Source # | |||||
Defined in Prolog.Programming.Parser | |||||
| Reader Spec Source # | |||||
Defined in Prolog.Programming.Types | |||||
| ToDoc Spec Source # | |||||
| Data Spec Source # | |||||
Defined in Prolog.Programming.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Spec -> c Spec # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Spec # dataTypeOf :: Spec -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Spec) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Spec) # gmapT :: (forall b. Data b => b -> b) -> Spec -> Spec # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Spec -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Spec -> r # gmapQ :: (forall d. Data d => d -> u) -> Spec -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Spec -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Spec -> m Spec # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Spec -> m Spec # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Spec -> m Spec # | |||||
| Generic Spec Source # | |||||
Defined in Prolog.Programming.Types Associated Types
| |||||
| Show Spec Source # | |||||
| type Rep Spec Source # | |||||
Defined in Prolog.Programming.Types type Rep Spec = D1 ('MetaData "Spec" "Prolog.Programming.Types" "prolog-programming-task-0.1.0.0-7IUtSVNNcc2AE96f0GC5ls" 'False) (C1 ('MetaCons "Spec" 'PrefixI 'True) ((S1 ('MetaSel ('Just "specVisibility") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Visibility) :*: S1 ('MetaSel ('Just "specVisualize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Visualize)) :*: (S1 ('MetaSel ('Just "specExpection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expection) :*: (S1 ('MetaSel ('Just "specTimeout") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Timeout) :*: S1 ('MetaSel ('Just "specRequirement") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Requirement))))) | |||||
data Visibility Source #
Instances
| Reader Visibility Source # | |||||
Defined in Prolog.Programming.Types Methods atomic_reader :: Parser Visibility # atomic_readerPrec :: Int -> Parser Visibility # reader :: Parser Visibility # readerPrec :: Int -> Parser Visibility # readerList :: Parser [Visibility] # | |||||
| ToDoc Visibility Source # | |||||
Defined in Prolog.Programming.Types | |||||
| Data Visibility Source # | |||||
Defined in Prolog.Programming.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Visibility -> c Visibility # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Visibility # toConstr :: Visibility -> Constr # dataTypeOf :: Visibility -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Visibility) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Visibility) # gmapT :: (forall b. Data b => b -> b) -> Visibility -> Visibility # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Visibility -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Visibility -> r # gmapQ :: (forall d. Data d => d -> u) -> Visibility -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Visibility -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Visibility -> m Visibility # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Visibility -> m Visibility # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Visibility -> m Visibility # | |||||
| Generic Visibility Source # | |||||
Defined in Prolog.Programming.Types Associated Types
| |||||
| Show Visibility Source # | |||||
Defined in Prolog.Programming.Types Methods showsPrec :: Int -> Visibility -> ShowS # show :: Visibility -> String # showList :: [Visibility] -> ShowS # | |||||
| type Rep Visibility Source # | |||||
Defined in Prolog.Programming.Types type Rep Visibility = D1 ('MetaData "Visibility" "Prolog.Programming.Types" "prolog-programming-task-0.1.0.0-7IUtSVNNcc2AE96f0GC5ls" 'False) (C1 ('MetaCons "Hidden" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)) :+: C1 ('MetaCons "Visible" 'PrefixI 'False) (U1 :: Type -> Type)) | |||||
Constructors
| ShowTree | |
| DontShowTree |
Instances
| Reader Visualize Source # | |||||
Defined in Prolog.Programming.Types | |||||
| ToDoc Visualize Source # | |||||
| Data Visualize Source # | |||||
Defined in Prolog.Programming.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Visualize -> c Visualize # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Visualize # toConstr :: Visualize -> Constr # dataTypeOf :: Visualize -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Visualize) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Visualize) # gmapT :: (forall b. Data b => b -> b) -> Visualize -> Visualize # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Visualize -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Visualize -> r # gmapQ :: (forall d. Data d => d -> u) -> Visualize -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Visualize -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Visualize -> m Visualize # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Visualize -> m Visualize # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Visualize -> m Visualize # | |||||
| Generic Visualize Source # | |||||
Defined in Prolog.Programming.Types Associated Types
| |||||
| Show Visualize Source # | |||||
| type Rep Visualize Source # | |||||
Defined in Prolog.Programming.Types | |||||
Constructors
| PositiveResult | |
| NegativeResult |
Instances
| Reader Expection Source # | |||||
Defined in Prolog.Programming.Types | |||||
| ToDoc Expection Source # | |||||
| Data Expection Source # | |||||
Defined in Prolog.Programming.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Expection -> c Expection # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Expection # toConstr :: Expection -> Constr # dataTypeOf :: Expection -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Expection) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Expection) # gmapT :: (forall b. Data b => b -> b) -> Expection -> Expection # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Expection -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Expection -> r # gmapQ :: (forall d. Data d => d -> u) -> Expection -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Expection -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Expection -> m Expection # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Expection -> m Expection # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Expection -> m Expection # | |||||
| Generic Expection Source # | |||||
Defined in Prolog.Programming.Types Associated Types
| |||||
| Show Expection Source # | |||||
| type Rep Expection Source # | |||||
Defined in Prolog.Programming.Types | |||||
Constructors
| GlobalTimeout | |
| LocalTimeout Int |
Instances
| Reader Timeout Source # | |||||
Defined in Prolog.Programming.Types | |||||
| ToDoc Timeout Source # | |||||
| Data Timeout Source # | |||||
Defined in Prolog.Programming.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Timeout -> c Timeout # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Timeout # toConstr :: Timeout -> Constr # dataTypeOf :: Timeout -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Timeout) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Timeout) # gmapT :: (forall b. Data b => b -> b) -> Timeout -> Timeout # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Timeout -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Timeout -> r # gmapQ :: (forall d. Data d => d -> u) -> Timeout -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Timeout -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Timeout -> m Timeout # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Timeout -> m Timeout # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Timeout -> m Timeout # | |||||
| Generic Timeout Source # | |||||
Defined in Prolog.Programming.Types Associated Types
| |||||
| Show Timeout Source # | |||||
| type Rep Timeout Source # | |||||
Defined in Prolog.Programming.Types type Rep Timeout = D1 ('MetaData "Timeout" "Prolog.Programming.Types" "prolog-programming-task-0.1.0.0-7IUtSVNNcc2AE96f0GC5ls" 'False) (C1 ('MetaCons "GlobalTimeout" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LocalTimeout" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) | |||||
data Requirement Source #
Constructors
| StatementToCheck [Term] | |
| QueryWithAnswers [Term] [[Term]] | |
| NewPredDecl Term String |
Instances
| Reader Requirement Source # | |||||
Defined in Prolog.Programming.Types Methods atomic_reader :: Parser Requirement # atomic_readerPrec :: Int -> Parser Requirement # reader :: Parser Requirement # readerPrec :: Int -> Parser Requirement # readerList :: Parser [Requirement] # | |||||
| ToDoc Requirement Source # | |||||
Defined in Prolog.Programming.Types | |||||
| Data Requirement Source # | |||||
Defined in Prolog.Programming.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Requirement -> c Requirement # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Requirement # toConstr :: Requirement -> Constr # dataTypeOf :: Requirement -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Requirement) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Requirement) # gmapT :: (forall b. Data b => b -> b) -> Requirement -> Requirement # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Requirement -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Requirement -> r # gmapQ :: (forall d. Data d => d -> u) -> Requirement -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Requirement -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Requirement -> m Requirement # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Requirement -> m Requirement # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Requirement -> m Requirement # | |||||
| Generic Requirement Source # | |||||
Defined in Prolog.Programming.Types Associated Types
| |||||
| Show Requirement Source # | |||||
Defined in Prolog.Programming.Types Methods showsPrec :: Int -> Requirement -> ShowS # show :: Requirement -> String # showList :: [Requirement] -> ShowS # | |||||
| type Rep Requirement Source # | |||||
Defined in Prolog.Programming.Types type Rep Requirement = D1 ('MetaData "Requirement" "Prolog.Programming.Types" "prolog-programming-task-0.1.0.0-7IUtSVNNcc2AE96f0GC5ls" 'False) (C1 ('MetaCons "StatementToCheck" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Term])) :+: (C1 ('MetaCons "QueryWithAnswers" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Term]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [[Term]])) :+: C1 ('MetaCons "NewPredDecl" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)))) | |||||
Orphan instances
| Reader Term Source # | |
| Reader VariableName Source # | |
Methods atomic_reader :: Parser VariableName # atomic_readerPrec :: Int -> Parser VariableName # reader :: Parser VariableName # readerPrec :: Int -> Parser VariableName # readerList :: Parser [VariableName] # | |
| ToDoc Term Source # | |
| ToDoc VariableName Source # | |