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 [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
