Add `Storable` instances for `Complex` and `Ratio`

Authored by carter on Nov 23 2014, 3:08 PM.

Description

Add Storable instances for Complex and Ratio

The actual type-signatures of the new instances are:

instance Storable a => Storable (Complex a)

instance (Storable a, Integral a) => Storable (Ratio a)

See also

https://groups.google.com/d/msg/haskell-core-libraries/mjBSo2CQ3LU/0gwg0QvviOIJ

Addresses Trac #9826

Reviewed By: ekmett

Differential Revision: https://phabricator.haskell.org/D519

Details

Committed
hvrNov 23 2014, 3:21 PM
Pushed
bgamariAug 25 2016, 1:39 PM
Reviewer
ekmett
Differential Revision
D519: preliminary Complex and Ratio Storable instances for Base
Parents
rGHCDIFFcc7a735f0155: Define void using <$ (re #9827)
Branches
Unknown
Tags
Unknown