[jhc] Re: Ids in Jhc.

Samuel Bronson naesten at gmail.com
Thu Feb 14 14:01:14 EST 2008

On 2/14/08, Lemmih <lemmih at gmail.com> 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

More information about the jhc mailing list