X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Data%2FSTRef.hs;h=10853bea34caa8a0814820391435bf6356542721;hb=2e317d707ce3512be60ada74a22119cd0a054ca1;hp=a48e29a16f19bd9541b951f8944ee22946e0e7c6;hpb=4ac794bfda775a2c0b03ad95506f6a415193610d;p=haskell-directory.git diff --git a/Data/STRef.hs b/Data/STRef.hs index a48e29a..10853be 100644 --- a/Data/STRef.hs +++ b/Data/STRef.hs @@ -6,7 +6,7 @@ -- -- 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. -- @@ -30,12 +30,11 @@ import GHC.STRef #ifdef __HUGS__ import Hugs.ST -#endif - -import Data.Dynamic +import Data.Typeable -#include "Dynamic.h" +#include "Typeable.h" INSTANCE_TYPEABLE2(STRef,stRefTc,"STRef") +#endif -- |Mutate the contents of an 'STRef' modifySTRef :: STRef s a -> (a -> a) -> ST s ()