diff options
Diffstat (limited to 'src/Library/Theorem.hs')
-rw-r--r-- | src/Library/Theorem.hs | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/src/Library/Theorem.hs b/src/Library/Theorem.hs index fc66cc2..a976549 100644 --- a/src/Library/Theorem.hs +++ b/src/Library/Theorem.hs @@ -1,19 +1,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) +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)
|