Proposal: add conversion functions to Data.Fixed.
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
> 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.
More information about the Libraries