
24 Jul
2009
24 Jul
'09
2:03 a.m.
On Fri, Jul 24, 2009 at 1:44 AM, Ashley Yakeley
On Fri, 2009-07-24 at 00:58 -0400, David Menendez wrote:
It depends on how abstract you want Fixed to be. If you use the derived Data instances, then gshow and gread (from Data.Generics.Text) expose the implementation.
But I'm going to expose the MkFixed constructor anyway. What's lost with a derived instance?
If the constructor is already exposed, then you don't lose abstraction
with a derived instance.
Out of curiosity, what made you decide to expose the constructor?
--
Dave Menendez