summaryrefslogtreecommitdiff
path: root/Theorem.hs
blob: c97a3994c25c4915d0f35043d22e6e06388929f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
module Theorem (
	Theorem(..),
	) where



import qualified Data.Set as Set
import TypeVar
import Term



data Theorem = Theorem { thmHyp :: Set.Set Term
                       , thmCon :: Term } deriving (Eq, Ord)



instance Show Theorem where
    show a   =   (show . Set.toList . thmHyp $ a) ++ " |- " ++ (show . thmCon $ a)