ideas-1.2: Feedback services for intelligent tutoring systems

Portabilityportable (depends on ghc)
Stabilityprovisional
Maintainerbastiaan.heeren@ou.nl
Safe HaskellNone

Ideas.Common.Strategy.Parsing

Description

Basic machinery for executing a core strategy expression.

Documentation

data Step l a Source

Constructors

Enter l 
Exit l 
RuleStep Environment (Rule a) 

Instances

Apply (Step l) 
Eq l => Eq (Step l a) 
Show (Step l a) 
Minor (Step l a) 

makeState :: a -> Core l a -> ParseState l aSource

trace :: ParseState l a -> [Step l a]Source

replay :: Monad m => Path -> a -> Core l a -> m (ParseState l a)Source

runCore :: Core l a -> a -> [a]Source

searchModeState :: (Step l a -> Bool) -> (Step l a -> Step l a -> Bool) -> ParseState l a -> ParseState l aSource