#2099: Storable instance for Complex
----------------------------+-----------------------------------------------
Reporter: jedbrown | Owner:
Type: proposal | Status: new
Priority: normal | Milestone: Not GHC
Component: libraries/base | Version: 6.8.2
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Multiple
Os: Multiple |
----------------------------+-----------------------------------------------
Comment (by simonmar):
This is slightly dubious. `Storable` is for types that have a single
direct analogue on the C side: for example, `CInt` maps to `int`, `Double`
maps to `HsDouble`. What does `Complex Int64` map to? Perhaps you don't
really mean `Storable (Complex a)`, but instead the three instances for
`CFloat`, `CDouble` and `CLongDouble`?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2099#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs