add Storable a => Storable (Ratio a) and Storable a => Storable (Complex a) to base
Edward Kmett
ekmett at gmail.com
Mon Nov 3 20:05:16 UTC 2014
Sadly using Complex for Gaussian integers isn't possible with abs/signum in
Num and that isn't changing any time soon.
On Mon, Nov 3, 2014 at 1:55 PM, David Feuer <david.feuer at gmail.com> wrote:
> Presumably also Gaussian integers, also not the way it's defined in base.
>
> On Mon, Nov 3, 2014 at 1:15 PM, Henning Thielemann <
> lemming at henning-thielemann.de> wrote:
>
>>
>>
>> On Mon, 3 Nov 2014, Brandon Allbery wrote:
>>
>> On Mon, Nov 3, 2014 at 12:57 PM, John Lato <jwlato at gmail.com> wrote:
>>> Rather it makes me question whether `Ratio a` itself makes sense,
>>> and perhaps we should
>>> monomorphize it to Integers.
>>>
>>> I've been questioning that for a while, to be honest.
>>>
>>
>> There could be other big integer types. In principle, Ratio also works
>> for polynomials, but not in the way it is defined in 'base'.
>>
>> _______________________________________________
>> Libraries mailing list
>> Libraries at haskell.org
>> http://www.haskell.org/mailman/listinfo/libraries
>>
>
>
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://www.haskell.org/mailman/listinfo/libraries
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20141103/d85666b2/attachment.html>
More information about the Libraries
mailing list