Advise-me-0.1: Assessment services for the Advise-Me project

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

Recognize.Data.Math

Description

Defines the Math type and closely associated functions.

Synopsis

Documentation

data Math Source #

Constructors

M 

Fields

Instances
Eq Math Source # 
Instance details

Defined in Recognize.Data.Math

Methods

(==) :: Math -> Math -> Bool #

(/=) :: Math -> Math -> Bool #

Show Math Source # 
Instance details

Defined in Recognize.Data.Math

Methods

showsPrec :: Int -> Math -> ShowS #

show :: Math -> String #

showList :: [Math] -> ShowS #

Arbitrary Math Source # 
Instance details

Defined in Recognize.Data.Math

Methods

arbitrary :: Gen Math #

shrink :: Math -> [Math] #

ToHTML Math Source # 
Instance details

Defined in Recognize.Data.Math

ToXML Math Source # 
Instance details

Defined in Recognize.Data.Math

Methods

toXML :: Math -> XML #

listToXML :: [Math] -> XML #

InXML Math Source # 
Instance details

Defined in Recognize.Data.Math

Methods

fromXML :: Monad m => XML -> m Math #

listFromXML :: Monad m => XML -> m [Math] #

ToXML (Math, [Attribute]) Source # 
Instance details

Defined in Recognize.Data.Step

Methods

toXML :: (Math, [Attribute]) -> XML #

listToXML :: [(Math, [Attribute])] -> XML #

getExpr :: Monad m => Math -> m Expr Source #

Returns the parsed expression or fails

getRelation :: Monad m => Math -> m (Relation Expr) Source #

Returns the parsed relation or fails

getRelationE :: Monad m => Expr -> m (Relation Expr) Source #

Returns the parsed relation or fails