prolog-programming-task
Safe HaskellNone
LanguageHaskell2010

Prolog.Programming.Mutation.Types

Documentation

data Mutation Source #

Instances

Instances details
Data Mutation Source # 
Instance details

Defined in Prolog.Programming.Mutation.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Mutation -> c Mutation #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Mutation #

toConstr :: Mutation -> Constr #

dataTypeOf :: Mutation -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Mutation) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Mutation) #

gmapT :: (forall b. Data b => b -> b) -> Mutation -> Mutation #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Mutation -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Mutation -> r #

gmapQ :: (forall d. Data d => d -> u) -> Mutation -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Mutation -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Mutation -> m Mutation #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Mutation -> m Mutation #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Mutation -> m Mutation #

Generic Mutation Source # 
Instance details

Defined in Prolog.Programming.Mutation.Types

Associated Types

type Rep Mutation 
Instance details

Defined in Prolog.Programming.Mutation.Types

type Rep Mutation = D1 ('MetaData "Mutation" "Prolog.Programming.Mutation.Types" "prolog-programming-task-0.1.0.0-7IUtSVNNcc2AE96f0GC5ls" 'False) (C1 ('MetaCons "DropClause" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ProgramClause)) :+: C1 ('MetaCons "DropGoal" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ProgramClause) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Goal)))

Methods

from :: Mutation -> Rep Mutation x #

to :: Rep Mutation x -> Mutation #

Show Mutation Source # 
Instance details

Defined in Prolog.Programming.Mutation.Types

Eq Mutation Source # 
Instance details

Defined in Prolog.Programming.Mutation.Types

type Rep Mutation Source # 
Instance details

Defined in Prolog.Programming.Mutation.Types

type Rep Mutation = D1 ('MetaData "Mutation" "Prolog.Programming.Mutation.Types" "prolog-programming-task-0.1.0.0-7IUtSVNNcc2AE96f0GC5ls" 'False) (C1 ('MetaCons "DropClause" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ProgramClause)) :+: C1 ('MetaCons "DropGoal" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ProgramClause) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Goal)))