UTF8 (was Re: Hexdump)

Simon Marlow simonmarhaskell at gmail.com
Tue Mar 21 11:59:52 EST 2006


Malcolm Wallace wrote:
> Dominic Steinitz <dominic.steinitz at blueyonder.co.uk> wrote:
> 
> 
>>I finally got around to putting a "hexdump" function into a module.
>>Any  suggestions as to where it should live in the hierarchy?
> 
> 
> How about
>     Codec.Hexdump
>     Codec.Text.Hexdump
>     Text.Codec.Hexdump
> 
> I was also thinking it would be nice to have pure Haskell
> implementations of the various Unicode encodings.  Here is my attempt at
> the UTF-8 codec.  Like Dominic, I am wondering where such a module
> should live in the hierarchy?
> 
>     Text.Codec.UTF8
>     Codec.Text.UTF8
>     Text.UTF8
>     Codec.UTF8

FWIW, our current draft hierarchy has this in Codec.Text.UTF8.

(see http://darcs.haskell.org/ghc/libraries/doc/lib-hierarchy.html).

Cheers,
	Simon


More information about the Libraries mailing list