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... Cheers, S. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe