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

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

Domain.Logic.Utils

Description

Utilities for the logic domain

Documentation

makeSimpleRule :: String -> (a -> Maybe a) -> Rule a Source #

makeListRule :: String -> (a -> [a]) -> Rule a Source #

makeInvRule :: IsId n => (a -> a -> Bool) -> n -> Rule a -> Rule a Source #

makeInvRuleWithUse :: (IsTerm a, IsTerm b, IsId n, Show a) => (Context a -> Context a -> Bool) -> n -> Rule b -> Rule (Context a) Source #

collect :: View a (a, a) -> Isomorphism a [a] Source #

(===) :: Eq a => Logic a -> Logic a -> Bool infix 6 Source #

(==>) :: Eq a => Logic a -> Logic a -> Bool infix 6 Source #

(<=>) :: Eq a => Logic a -> Logic a -> Bool infix 6 Source #