
19 May
2009
19 May
'09
3:16 p.m.
Excerpts from nathanmholden's message of Tue May 19 15:07:26 -0400 2009:
Yeah, it would. But I always write code like that, it feels ungainly... writing super-long, case-by-case instance declarations (So that I can add in one little caveat at the end, or something), and stuff. Makes me feel like I must be dumb!
It seems to me, in this particular case, that you don't actually want an algebraic datatype (which seems to be what you're implementation is using). Cheers, Edward