Proposal: add conversion functions to Data.Fixed.

Ashley Yakeley ashley at semantic.org
Sat Dec 1 23:54:18 CET 2012


On 01/12/12 12:11, Yitzchak Gale wrote:
> Jeff Shaw wrote:
>
>         In my work I've run into an annoyance: Data.Fixed.Fixed does not
>         have a
>         Binary instance in the binary package.
>
> Ashley Yakeley wrote:
>
>     Just to be clear, this is a modification of binary, not Data.Fixed
>     in base, is that correct?
>
>
> Hmm, I had understood just the opposite:
> that the proposal was to add fromFixed/toFixed
> to Data.Fixed, motivated by the difficulty of things
> like writing a Binary instance.

Oh yes, you're right. But I don't think it's necessary.

-- Ashley




More information about the Libraries mailing list