ModalLogic.hs revision 54bca7c7e020665a3940ad28c11d40a3fb55bd4a
{-# OPTIONS -fglasgow-exts #-}
module ModalLogic where
import GMPAS
data PPflag = Sqr | Ang | None
deriving Eq
-------------------------------------------------------------------------------
-- Modal Logic Class
-------------------------------------------------------------------------------
class ModalLogic a b | a -> b, b -> a where
-- OrderIns :: (Formula a) -> Bool -- order insensitivity flag
flagML :: (Formula a) -> PPflag -- primary modal operator flag
parseIndex :: Parser a -- index parser
matchRO :: [(MATV a)] -> [b] -- RO matching
guessClause :: b -> [Clause] -- clause guessing
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------