
27 Jul
2009
27 Jul
'09
6:34 p.m.
On Sun, 2009-07-26 at 14:54 +0300, Yitzchak Gale wrote:
People want to be able to look at the haddocks/export list and see at a glance how to write neat, bullet-proof code. If someone uses the Data instance, they should be aware of the risks. But if you expose the constructor, it will cause average users of this module to do the wrong thing sometimes.
I'm not really seeing the problem, here. Ratio exposes its constructor, and Fixed is much like Rational with a fixed denominator. -- Ashley