Re: [Haskell-cafe] ANNOUNCE: dataenc 0.9
On Tue, Oct 23, 2007 at 15:50:54 +0200, Yitzchak Gale wrote: 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 Yes, I somewhat followed the beginning of that discussion but my Unicode-fu isn't very strong. If you have concrete suggestions for changes to the API then please let me know. I have vague plans of writing a uuencode/uudecode in Haskell so that might bring up some issues with the current API. 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. It would be great to see something equally unified in Haskell in the future. /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus.therning@gmail.com http://therning.org/magnus pgpXhAh4Bln31.pgp Description: PGP signature ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
[Haskell-cafe] ANNOUNCE: dataenc 0.9
My collection of data encoding functions are now available at http://hackage.haskell.org/cgi-bin/hackage-scripts/package/dataenc-0.9: Dependencies base License LGPL Copyright Magnus Therning, 2007 AuthorMagnus Therning Maintainer[EMAIL PROTECTED] Exposed modules Codec.Binary.DataEncoding, Codec.Binary.Base16, Codec.Binary.Base32Hex, Codec.Binary.Base32, Codec.Binary.Uu, Codec.Binary.Base64Url, Codec.Binary.Base64 There's a short description of the library on the wiki: http://haskell.org/haskellwiki/Library/Data_encoding The source darcs repo is available on code.haskell.org. Hopefully the haddockuments will be generated on hackage soon-ish. /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus.therning@gmail.com http://therning.org/magnus pgp1OASWJWqMq.pgp Description: PGP signature ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] ANNOUNCE: dataenc 0.9
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 ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe