[project @ 2005-04-07 23:36:48 by sof]
[ghc-base.git] / Data / Queue.hs
index 91a7d34..6a06670 100644 (file)
@@ -24,10 +24,14 @@ module Data.Queue(
     ) where
 
 import Prelude -- necessary to get dependencies right
+import Data.Typeable
 
 -- | The type of FIFO queues.
 data Queue a = Q [a] [a] [a]
 
+#include "Typeable.h"
+INSTANCE_TYPEABLE1(Queue,queueTc,"Queue")
+
 -- Invariants for Q xs ys xs':
 --     length xs = length ys + length xs'
 --     xs' = drop (length ys) xs       -- in fact, shared (except after fmap)