projects
/
haskell-directory.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5bb0887
)
fix Data.HashTable for non-GHC
author
Ross Paterson
<ross@soi.city.ac.uk>
Fri, 11 Aug 2006 23:15:21 +0000
(23:15 +0000)
committer
Ross Paterson
<ross@soi.city.ac.uk>
Fri, 11 Aug 2006 23:15:21 +0000
(23:15 +0000)
Data/HashTable.hs
patch
|
blob
|
history
diff --git
a/Data/HashTable.hs
b/Data/HashTable.hs
index
7eab89d
..
fda647e
100644
(file)
--- a/
Data/HashTable.hs
+++ b/
Data/HashTable.hs
@@
-56,6
+56,8
@@
import GHC.IOBase ( IO, IOArray, newIOArray,
#else
import Data.Char ( ord )
import Data.IORef ( IORef, newIORef, readIORef, writeIORef )
+import System.IO.Unsafe ( unsafePerformIO )
+import Data.Int ( Int64 )
# if defined(__HUGS__)
import Hugs.IOArray ( IOArray, newIOArray,
unsafeReadIOArray, unsafeWriteIOArray )