summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2012-08-09 04:35:46 +1000
committerJed Barber <jjbarber@y7mail.com>2012-08-09 04:35:46 +1000
commit455df475317d4cf59e854fdb329d4f8a470474f3 (patch)
tree71f2e483c6db762b43b36a190a588a0788053569
parenta44e9d598841612b277d0334e11c45348a6b3723 (diff)
Theorems now displayed properly instead of as maybe values
-rw-r--r--ListThm.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ListThm.hs b/ListThm.hs
index e61aaf9..ad65911 100644
--- a/ListThm.hs
+++ b/ListThm.hs
@@ -27,8 +27,8 @@ toThms graph nodeList =
node = snd3 . head $ edge
in write g node)
- f = (\x -> (show . fst $ x) ++ ". [" ++ show ((fst4 . fromJust $ (eval (hyp graph (snd x)))) `at` 0) ++
- "] |- " ++ show ((fst4 . fromJust $ (eval (con graph (snd x)))) `at` 0))
+ f = (\x -> (show . fst $ x) ++ ". " ++ (show . fromJust $ ((fst4 . fromJust $ (eval (hyp graph (snd x)))) `at` 0)) ++
+ " |- " ++ (show . fromJust $ ((fst4 . fromJust $ (eval (con graph (snd x)))) `at` 0)))
in map f (zip [1..] nodeList)