#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 igloo):
A bit off-topic, but you should assume that Double /= CDouble, and convert
with realToFrac (in a thin wrapper around the FFI imports, where you are
doing things like checking errno and reading results in from pointers, is
normally a sensible place to do the conversion). When Double == CDouble,
this should be optimised away to no code.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2099#comment:4>
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