ideas-1.3.1: Feedback services for intelligent tutoring systems

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

Ideas.Common.Rewriting.RewriteRule

Contents

Description

 

Synopsis

Supporting type class

class Different a where Source

Methods

different :: (a, a) Source

Instances

Rewrite rules and specs

data RuleSpec a Source

Constructors

a :~> a infixl 1 

Instances

Compiling rewrite rules

class (IsTerm a, Show a) => RuleBuilder t a | t -> a where Source

Instances

(IsTerm a, Show a) => RuleBuilder (RuleSpec a) a 
(Arbitrary a, IsTerm a, Show a, Different a) => RuleBuilder (LawSpec a) a 
(Different a, RuleBuilder t b) => RuleBuilder (a -> t) b 

Using rewrite rules