On 2/14/08, Lemmih <[EMAIL PROTECTED]> wrote: > I mean something like: data Id = Phantom | Unnamed Int | Named Atom > Giving special meaning to numbers seems like a hack. Optimizations > should not come at the sacrifice of readability.
It's not a hack if you use a newtype... at least, not observably. Yhc didn't, and it did do some really nasty stuff. (Possibly nhc predated newtypes?) _______________________________________________ jhc mailing list [email protected] http://www.haskell.org/mailman/listinfo/jhc
