[Haskell-cafe] Re: Data.Binary Endianness

Sven Panne sven.panne at aedion.de
Tue Sep 11 02:03:50 EDT 2007

On Monday 10 September 2007 21:02, apfelmus wrote:
> [...]
>    class Put a endian where
>      put :: endian -> a -> Put
> [...]
> Oh, and the 8,16,32 and 64 are good candidates for phantom
> type/associated data types, too.

I think that using any non-H98 feature like MPTC or associated data types for 
such a generally useful and basic package would be a *big* mistake.  Let's 
follow the "KISS" principle here. Everybody is free to make a nicer, but 
non-portable wrapper...


More information about the Haskell-Cafe mailing list