summaryrefslogtreecommitdiff
path: root/app/Code.hs
diff options
context:
space:
mode:
Diffstat (limited to 'app/Code.hs')
-rw-r--r--app/Code.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Code.hs b/app/Code.hs
index f2a3856..709b309 100644
--- a/app/Code.hs
+++ b/app/Code.hs
@@ -81,7 +81,7 @@ data Dereferenced
= FreeRef Int
| BoundRef Int Datum
| NoRef
- deriving (Show)
+ deriving (Show, Eq)
-- TRICKY: HeapRefs alone must not form a cycle other than the FreeRef case.
derefHeap :: Heap -> Int -> Dereferenced