summaryrefslogtreecommitdiff
path: root/Theorem.hs
blob: c4a36c8fe1921621814ba40853875edec4e7fbb8 (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 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)