#9826: add Storable Complex and Ratio instance to base library -------------------------------------+------------------------------------- Reporter: carter | Owner: carter Type: feature | Status: patch request | Milestone: 7.10.1 Priority: normal | Version: 7.8.3 Component: | Keywords: libraries/base | Architecture: Unknown/Multiple Resolution: | Difficulty: Unknown Operating System: | Blocked By: Unknown/Multiple | Related Tickets: Type of failure: | None/Unknown | Test Case: | Blocking: | Differential Revisions: Phab:D519 | -------------------------------------+------------------------------------- Comment (by Herbert Valerio Riedel <hvr@…>): In [changeset:"fb061c193947a7096471486faade1d0db30bc588/ghc"]: {{{ #!CommitTicketReference repository="ghc" revision="fb061c193947a7096471486faade1d0db30bc588" 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 #9826 Reviewed By: ekmett Differential Revision: https://phabricator.haskell.org/D519 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9826#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler