summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorJan Stolarek <jan.stolarek@p.lodz.pl>2013-07-03 15:23:37 +0100
committerJan Stolarek <jan.stolarek@p.lodz.pl>2013-08-14 12:46:06 +0100
commit6579a6c73082387f82b994305011f011d9d8382b (patch)
tree24a846b3ebd1ef54fd74a439d45f1877dcd8544f /libraries
parent333273792479695cf79a72cffa4c579d0c9deb21 (diff)
downloadhaskell-6579a6c73082387f82b994305011f011d9d8382b.tar.gz
Comparison primops return Int# (Fixes #6135)
This patch modifies all comparison primops for Char#, Int#, Word#, Double#, Float# and Addr# to return Int# instead of Bool. A value of 1# represents True and 0# represents False. For a more detailed description of motivation for this change, discussion of implementation details and benchmarking results please visit the wiki page: http://hackage.haskell.org/trac/ghc/wiki/PrimBool There's also some cleanup: whitespace fixes in files that were extensively edited in this patch and constant folding rules for Integer div and mod operators (which for some reason have been left out up till now).
Diffstat (limited to 'libraries')
m---------libraries/primitive0
1 files changed, 0 insertions, 0 deletions
diff --git a/libraries/primitive b/libraries/primitive
-Subproject 75c3379b6d76e914cc3c7ffd290b6b1cad7ea3e
+Subproject c6b1e204f0f2a1a0d6cb1df35fa60762b2fe3cd