projects
/
haskell-directory.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add intercalate and split to Data.List
[haskell-directory.git]
/
Data
/
STRef.hs
diff --git
a/Data/STRef.hs
b/Data/STRef.hs
index
d261cbf
..
10853be
100644
(file)
--- a/
Data/STRef.hs
+++ b/
Data/STRef.hs
@@
-6,7
+6,7
@@
--
-- Maintainer : libraries@haskell.org
-- Stability : experimental
--
-- Maintainer : libraries@haskell.org
-- Stability : experimental
--- Portability : non-portable (requires non-portable module ST)
+-- Portability : non-portable (uses Control.Monad.ST)
--
-- Mutable references in the (strict) ST monad.
--
--
-- Mutable references in the (strict) ST monad.
--
@@
-30,6
+30,10
@@
import GHC.STRef
#ifdef __HUGS__
import Hugs.ST
#ifdef __HUGS__
import Hugs.ST
+import Data.Typeable
+
+#include "Typeable.h"
+INSTANCE_TYPEABLE2(STRef,stRefTc,"STRef")
#endif
-- |Mutate the contents of an 'STRef'
#endif
-- |Mutate the contents of an 'STRef'