Somebody claiming to be Stephen Paul Weber wrote:
libraries/base/Foreign/C/Types.hs:162:25:

Not in scope: type constructor or class `HTYPE_FLOAT'

After much more digging into the source, it seems that the `Storable` class for the CFloat and CDouble types assumes that HTYPE_FLOAT and HTYPE_DOUBLE have the right storage characteristics for float and double. I'm trying to dig into how these are defined now, but it seems from my first look like this assumption should always hold. So what is the configure check for? I keep trying to read the M4 code for the configure check, but it's quite a mess.

Nothing other than the `Storable` instance seems to make use of the detected HTYPE_FLOAT or HTYPE_DOUBLE for anything material (unless there are also things which just make assumptions about the nature of the newtype, which is possible).

--
Stephen Paul Weber, @singpolyma
See <http://singpolyma.net> for how I prefer to be contacted
edition right joseph

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to