diff options
author | Isaac Dupree <id@isaac.cedarswampstudios.org> | 2007-08-07 12:14:54 +0000 |
---|---|---|
committer | Isaac Dupree <id@isaac.cedarswampstudios.org> | 2007-08-07 12:14:54 +0000 |
commit | 01ecefa4b97106fec5c139c5514e5d56e59ecbaf (patch) | |
tree | 5fe97b253ff544ee2c8b8ebb13780c9d7fc883e2 /compiler/main/BreakArray.hs | |
parent | a65481fce16930ff0cd343c9278d9b8961bee94f (diff) | |
download | haskell-01ecefa4b97106fec5c139c5514e5d56e59ecbaf.tar.gz |
Warning police: eliminate all defaulting within stage1
Defaulting makes compilation of multiple modules more complicated (re: #1405)
Although it was all locally within functions, not because of the module
monomorphism-restriction... but it's better to be clear what's meant, anyway.
I changed some that were defaulting to Integer, to explicit Int, where Int
seemed appropriate rather than Integer.
Diffstat (limited to 'compiler/main/BreakArray.hs')
-rw-r--r-- | compiler/main/BreakArray.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/main/BreakArray.hs b/compiler/main/BreakArray.hs index dbae88a112..50a1170975 100644 --- a/compiler/main/BreakArray.hs +++ b/compiler/main/BreakArray.hs @@ -26,8 +26,8 @@ import Constants data BreakArray = BA (MutableByteArray# RealWorld) breakOff, breakOn :: Word -breakOn = fromIntegral 1 -breakOff = fromIntegral 0 +breakOn = 1 +breakOff = 0 -- XXX crude showBreakArray :: BreakArray -> IO () |