
Magnus Therning wrote:
My collection of data encoding functions are now available
Nice! Should this effort be coordinated with Unicode-related encoding/decoding? See the Encoding class in Twan van Laarhoven's CompactString library: http://twan.home.fmf.nl/compact-string/ and Johan Tibell's UnicodeByteString proposal: http://haskell.org/haskellwiki/UnicodeByteString There was a recent discussion about these, mostly the latter: http://www.haskell.org/pipermail/haskell-cafe/2007-September/032195.html I hate to keep bringing up serpents, but note that Python has a nice codec abstraction that provides efficient encoding and decoding of character encodings, data encodings, data compression, etc., all with the same interface. You can attach these things to file handles, or apply them to strings. Makes sense to me. Thanks, Yitz