GC: implemented basic GC memory swapping; some refactoring
[mate.git] / Mate / GC.hs
index 687197babd98d65a1661f3ca604535cb64e1baa7..eb1f2f7db78bac215c61c8e89bebaa507c893ca7 100644 (file)
@@ -16,7 +16,7 @@ class (Eq a, Ord a, Show a) => RefObj a where
  
   refs      :: a -> IO [a]
   patchRefs :: a -> [a] -> IO ()
-  newRef    :: a -> a -> IO ()
+  setNewRef :: a -> a -> IO ()
   getNewRef :: a -> IO a
   
   marked  :: a -> IO Bool