[Haskell-cafe] ANNOUNCE: dataenc 0.9

Magnus Therning magnus at therning.org
Wed Oct 24 10:05:58 EDT 2007


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20071024/8732ee73/attachment.bin


More information about the Haskell-Cafe mailing list