Re: [Haskell-cafe] Using Data.Binary for compression

2007-11-15 Thread Bulat Ziganshin
Hello Chad, Thursday, November 15, 2007, 9:03:52 AM, you wrote: I'd like to be able to use Data.Binary (or similar) for compression. Say I have an abstract type Symbol, and for each value of Symbol I have a representation in terms of some number of bits. For compression to be efficient,

Re: [Haskell-cafe] Using Data.Binary for compression

2007-11-15 Thread David Roundy
On Wed, Nov 14, 2007 at 10:03:52PM -0800, Chad Scherrer wrote: I'd like to be able to use Data.Binary (or similar) for compression. Say I have an abstract type Symbol, and for each value of Symbol I have a representation in terms of some number of bits. For compression to be efficient,

Re: [Haskell-cafe] Using Data.Binary for compression

2007-11-15 Thread David Roundy
On Thu, Nov 15, 2007 at 11:10:01AM -0800, Chad Scherrer wrote: Almost all 'real users' just use Codec.Compression.GZip. It's very fast, very compositional, and (perhaps suprisingly) almost as effective as application-specific schemes. I was about to say the same thing. So so much

[Haskell-cafe] Using Data.Binary for compression

2007-11-14 Thread Chad Scherrer
Hi, I'd like to be able to use Data.Binary (or similar) for compression. Say I have an abstract type Symbol, and for each value of Symbol I have a representation in terms of some number of bits. For compression to be efficient, commonly-used Symbols should have very short representations, while

Re: [Haskell-cafe] Using Data.Binary for compression

2007-11-14 Thread Stefan O'Rear
On Wed, Nov 14, 2007 at 10:03:52PM -0800, Chad Scherrer wrote: Hi, I'd like to be able to use Data.Binary (or similar) for compression. Say I have an abstract type Symbol, and for each value of Symbol I have a representation in terms of some number of bits. For compression to be efficient,

Re: [Haskell-cafe] Using Data.Binary for compression

2007-11-14 Thread Don Stewart
stefanor: On Wed, Nov 14, 2007 at 10:03:52PM -0800, Chad Scherrer wrote: Hi, I'd like to be able to use Data.Binary (or similar) for compression. Say I have an abstract type Symbol, and for each value of Symbol I have a representation in terms of some number of bits. For compression