ideas-1.3.1: Feedback services for intelligent tutoring systems

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

Ideas.Common.Strategy.Core

Description

The core strategy combinators. This module defines the interal data structure of a strategy, and some utility functions that operate directly on it.

Synopsis

Documentation

data GCore a Source

A generalized Core expression, not restricted to rules. This makes GCore a (traversable and foldable) functor.

Constructors

(GCore a) :*: (GCore a) infixr 5 
(GCore a) :|: (GCore a) infixr 3 
(GCore a) :>|> (GCore a) infixr 3 
(GCore a) :|>: (GCore a) infixr 3 
(GCore a) :%: (GCore a) infixr 2 
(GCore a) :@: (GCore a) infixr 2 
Label Id (GCore a) 
Atomic (GCore a) 
Not (GCore a) 
Remove (GCore a) 
Collapse (GCore a) 
Hide (GCore a) 
Succeed 
Fail 
Rule a

Generalized constructor (not restricted to rules)

Var Int 
Let (CoreEnv a) (GCore a) 

type Core a = GCore (Rule a) Source

Core expression, with rules

coreFix :: (GCore a -> GCore a) -> GCore a Source