packages feed

symbol 0.1.2.1 → 0.1.3

raw patch · 2 files changed

+4/−2 lines, 2 filesdep +deepseqPVP ok

version bump matches the API change (PVP)

Dependencies added: deepseq

API changes (from Hackage documentation)

Files

Data/Symbol.hs view
@@ -44,6 +44,7 @@   ) where  import Control.Concurrent.MVar+import Control.DeepSeq import Data.Generics (Data, Typeable) #if __GLASGOW_HASKELL__ >= 608 import Data.String@@ -87,7 +88,7 @@ -- |Intern a string to produce a 'Symbol'. intern :: String -> Symbol {-# NOINLINE intern #-}-intern s = s `seq` unsafePerformIO $ modifyMVar symbolEnv $ \env -> do+intern s = s `deepseq` unsafePerformIO $ modifyMVar symbolEnv $ \env -> do     case Map.lookup s (symbols env) of       Nothing  -> do let sym  = Symbol (uniq env) s                      let env' = env { uniq    = uniq env + 1,
symbol.cabal view
@@ -1,5 +1,5 @@ name:           symbol-version:        0.1.2.1+version:        0.1.3 cabal-version:  >= 1.6 license:        BSD3 license-file:   LICENSE@@ -23,6 +23,7 @@   build-depends:     base >= 4 && < 5,     containers >= 0.2 && < 0.5,+    deepseq >=1.0 && <2.0,     syb >= 0.1 && < 0.4  source-repository head