
15 Aug
2013
15 Aug
'13
11:36 a.m.
Hi all, With the recent change of comparison primops to return Int# instead of Bool, the 64 bit operations were also changed, to return Int64# or Word64#: https://github.com/jstolarek/packages-ghc-prim/commit/07920f03d76dbaec64e382... It seems a bit wasteful to me to return a value bigger than a machine word for just a boolean. Changing the type to Int# would make the same optimizations possible as for the native-sized primops (though for me personally Bool would be even better since they map to JavaScript bools in GHCJS). thoughts? luite