Skip to content
Snippets Groups Projects
Commit fdd49713 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Rename toInt# -> integerToInt for consistency

parent c3e9c026
No related merge requests found
......@@ -21,7 +21,7 @@
module GHC.Integer (
Integer,
smallInteger, wordToInteger, integerToWord, toInt#,
smallInteger, wordToInteger, integerToWord, integerToInt,
#if WORD_SIZE_IN_BITS < 64
integerToWord64, word64ToInteger,
integerToInt64, int64ToInteger,
......@@ -72,8 +72,8 @@ integerToWord (Negative (Some w _)) = 0## `minusWord#` w
-- Must be Naught by the invariant:
integerToWord _ = 0##
toInt# :: Integer -> Int#
toInt# i = word2Int# (integerToWord i)
integerToInt :: Integer -> Int#
integerToInt i = word2Int# (integerToWord i)
#if WORD_SIZE_IN_BITS == 64
-- Nothing
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment