projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 1996-07-25 20:43:49 by partain]
[ghc-hetmet.git]
/
ghc
/
compiler
/
basicTypes
/
UniqSupply.lhs
diff --git
a/ghc/compiler/basicTypes/UniqSupply.lhs
b/ghc/compiler/basicTypes/UniqSupply.lhs
index
88ac980
..
3cb2ca7
100644
(file)
--- a/
ghc/compiler/basicTypes/UniqSupply.lhs
+++ b/
ghc/compiler/basicTypes/UniqSupply.lhs
@@
-103,7
+103,8
@@
mkSplitUniqSupply (C# c#)
returnPrimIO (I# (w2i (mask# `or#` u#)))
in
#if __GLASGOW_HASKELL__ >= 200
- primIOToIO mk_supply#
+ primIOToIO mk_supply# >>= \ s ->
+ return s
#else
mk_supply# `thenPrimIO` \ s ->
return s