blob: fc66cc239a0864a49fc1c37e3adfc0db3639c7ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
module Library.Theorem (
Theorem(..),
) where
import qualified Data.Set as Set
import Library.TypeVar
import Library.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)
|