[Snap Framework] snap-server branch, master, updated. 28f2c72873f159507317a1c0d3a3cc846101cfcf

noreply at snapframework.com noreply at snapframework.com
Sun Aug 29 10:57:34 CDT 2010


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "snap-server".

The branch, master has been updated
       via  28f2c72873f159507317a1c0d3a3cc846101cfcf (commit)
      from  9cb10b8cfb65e0f0c3316d65cdd1022f178c2df1 (commit)


Summary of changes:
 snap-server.cabal                                  |    2 +-
 .../Concurrent.hs => Concurrent/HashMap.hs}        |    4 ++--
 .../Concurrent => Concurrent/HashMap}/Internal.hs  |    2 +-
 src/Snap/Internal/Http/Server/LibevBackend.hs      |    4 ++--
 4 files changed, 6 insertions(+), 6 deletions(-)
 rename src/Data/{HashMap/Concurrent.hs => Concurrent/HashMap.hs} (98%)
 rename src/Data/{HashMap/Concurrent => Concurrent/HashMap}/Internal.hs (90%)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 28f2c72873f159507317a1c0d3a3cc846101cfcf
Author: Gregory Collins <greg at gregorycollins.net>
Date:   Sat Aug 28 20:51:34 2010 -0400

    Rename Data.HashMap.Concurrent to Data.Concurrent.HashMap

diff --git a/snap-server.cabal b/snap-server.cabal
index 5be7300..f2a58de 100644
--- a/snap-server.cabal
+++ b/snap-server.cabal
@@ -88,7 +88,7 @@ Library
   hs-source-dirs: src
 
   exposed-modules:
-    Data.HashMap.Concurrent,
+    Data.Concurrent.HashMap,
     Snap.Http.Server,
     Snap.Http.Server.Config,
     System.FastLogger
diff --git a/src/Data/HashMap/Concurrent.hs b/src/Data/Concurrent/HashMap.hs
similarity index 98%
rename from src/Data/HashMap/Concurrent.hs
rename to src/Data/Concurrent/HashMap.hs
index 88b271a..157d208 100644
--- a/src/Data/HashMap/Concurrent.hs
+++ b/src/Data/Concurrent/HashMap.hs
@@ -4,7 +4,7 @@
 {-# LANGUAGE RankNTypes #-}
 {-# LANGUAGE TemplateHaskell #-}
 
-module Data.HashMap.Concurrent
+module Data.Concurrent.HashMap
   ( HashMap
   , new
   , new'
@@ -42,7 +42,7 @@ import GHC.Exts ( Word(..), Int(..), shiftRL# )
 import Data.Word
 #endif
 
-import           Data.HashMap.Concurrent.Internal
+import           Data.Concurrent.HashMap.Internal
 
 
 hashString :: String -> Word
diff --git a/src/Data/HashMap/Concurrent/Internal.hs b/src/Data/Concurrent/HashMap/Internal.hs
similarity index 90%
rename from src/Data/HashMap/Concurrent/Internal.hs
rename to src/Data/Concurrent/HashMap/Internal.hs
index dce6bcb..3ff3f6b 100644
--- a/src/Data/HashMap/Concurrent/Internal.hs
+++ b/src/Data/Concurrent/HashMap/Internal.hs
@@ -3,7 +3,7 @@
 {-# LANGUAGE MagicHash #-}
 {-# LANGUAGE TemplateHaskell #-}
 
-module Data.HashMap.Concurrent.Internal where
+module Data.Concurrent.HashMap.Internal where
 
 import           Data.Bits
 import           Data.Word
diff --git a/src/Snap/Internal/Http/Server/LibevBackend.hs b/src/Snap/Internal/Http/Server/LibevBackend.hs
index abf1d14..088051a 100644
--- a/src/Snap/Internal/Http/Server/LibevBackend.hs
+++ b/src/Snap/Internal/Http/Server/LibevBackend.hs
@@ -55,8 +55,8 @@ import             System.Timeout
 ------------------------------------------------------------------------------
 
 -- FIXME: should be HashSet, make that later.
-import qualified   Data.HashMap.Concurrent as H
-import             Data.HashMap.Concurrent (HashMap)
+import qualified   Data.Concurrent.HashMap as H
+import             Data.Concurrent.HashMap (HashMap)
 import             Snap.Iteratee
 import             Snap.Internal.Debug
 import             Snap.Internal.Http.Server.Date
-----------------------------------------------------------------------


hooks/post-receive
-- 
snap-server


More information about the Snap mailing list