[add routines to Binary that work on length prefixed lists
John Meacham <john@repetae.net>**20050930034038] hunk ./Binary.hs 37
+   getNList,
+   putNList,
+
hunk ./Binary.hs 466
+
+-- | put length prefixed list.
+putNList :: Binary a => BinHandle -> [a] -> IO ()
+putNList bh xs = do
+    put_ bh (length xs)
+    mapM_ (put_ bh) xs
+
+-- | get length prefixed list.
+getNList :: Binary a => BinHandle -> IO [a]
+getNList bh = do
+    n <- get bh
+    sequence $ replicate n (get bh)