Don Stewart <dons <at> galois.com> writes: > > I was about to say the same thing. So so much simpler to use Duncan's > carefully written zlib binding, > > import Data.Binary > import Codec.Compression.GZip > import qualified Data.ByteString.Lazy as L > > main = L.writeFile "log.gz" . compress . encode $ [1..10::Int] > > Simple, purely functional, fast. > Don,
But something like this is needed (or I least I would like it). I'd like functions to get and put bits as in NewBinary. Is this not a way of doing it? Dominic. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe