
13 Jun
2004
13 Jun
'04
8:58 a.m.
Sven Panne
Murphy strikes again: Of course I stumble across exactly this bug in nhc98. I guess I can work around this, but fixing this would be nice. It makes the usage of the FFI with nhc98 a bit hard and surprising from time to time.
Yes, it would be nice to fix.
Int8, Int16, ... seem to be handled magically different, BTW.
They are defined as data Int8 data Int16 etc, that is, as algebraic datatypes with no definition. Hence operations on them can only be defined primitively in the runtime system. Regards, Malcolm