Proposal: add conversion functions to Data.Fixed.
Ian Lynagh
ian at well-typed.com
Sun Dec 9 13:39:28 CET 2012
On Fri, Dec 07, 2012 at 09:49:04PM -0800, Ashley Yakeley wrote:
> On 07/12/12 09:15, Ian Lynagh wrote:
> >On Sat, Dec 01, 2012 at 09:14:28PM -0500, Edward Kmett wrote:
> >>To be frank, I would just rather have access to the constructor to Fixed.
> >
> >I would prefer this, in Data.Fixed.Internal[s], to the original
> >proposal.
>
> Is another module really necessary? Note that fromEnum and toEnum
> already expose the internal Integer, badly, as an Int.
Exporting it from Data.Fixed would also be fine with me.
Thanks
Ian
More information about the Libraries
mailing list