1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
module Theorem ( Theorem(..), ) where import Data.List import TypeVar import Term data Theorem = Theorem { thmHyp :: [Term] , thmCon :: Term } deriving (Eq) instance Show Theorem where show a = (show . thmHyp $ a) ++ " |- " ++ (show . thmCon $ a)