diff options
author | Jed Barber <jjbarber@y7mail.com> | 2012-05-22 09:22:33 +1000 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2012-05-22 09:22:33 +1000 |
commit | 3ea6bacad9fd7b14d5454d6ea109f5de724fd690 (patch) | |
tree | 74a25abf68bcb98bc91d268d06800c8b33808df6 /Theorem.hs | |
parent | e438502b5fbbfa22d73927daaa0d93dc650a033b (diff) |
Split the Object wrapping from the actual computation in the article commands
Diffstat (limited to 'Theorem.hs')
-rw-r--r-- | Theorem.hs | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,5 +1,7 @@ module Theorem ( Theorem(..), + + nullThm ) where @@ -17,3 +19,8 @@ data Theorem = Theorem { thmHyp :: Set.Set Term instance Show Theorem where show a = (show . Set.toList . thmHyp $ a) ++ " |- " ++ (show . thmCon $ a) + + + +nullThm :: Theorem +nullThm = Theorem Set.empty nullTerm |