packages feed

haroonga-httpd 0.1.0.0 → 0.1.1.0

raw patch · 2 files changed

+11/−4 lines, 2 filesdep ~time

Dependency ranges changed: time

Files

Web/Groonga/Server.hs view
@@ -10,8 +10,13 @@ import Foreign.Ptr (Ptr) import Network.Wai.Middleware.RequestLogger (logStdoutDev) import System.Directory+#if !MIN_VERSION_time(1,5,0) import Data.Time import System.Locale+#else+import Data.Time hiding (TimeLocale)+import System.Locale hiding (defaultTimeLocale)+#endif import Control.Applicative ((<$>))  type GrnCtx = Ptr C'_grn_ctx@@ -97,7 +102,8 @@        get_current_time_as_double :: IO Double       get_current_time_as_double = do-        epoch_double <- (read <$> formatTime defaultTimeLocale "%s.%q" <$> getCurrentTime) :: IO Double+        epoch_double <- (read <$> formatTime defaultTimeLocale "%s.%q"+                              <$> getCurrentTime) :: IO Double         return epoch_double        format_response :: (Show a, Num a) => Int -> a -> a -> String -> String
haroonga-httpd.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/  name:                haroonga-httpd-version:             0.1.0.0+version:             0.1.1.0 synopsis:            Yet another Groonga http server. description:         Yet another Groonga http server written in Haskell. license:             LGPL-2.1@@ -19,10 +19,11 @@   main-is:             Main.hs   other-modules:       Web.Groonga.Server                        Web.Groonga.App-  default-extensions:  OverloadedStrings+  default-extensions:  OverloadedStrings,+                       CPP   build-depends:       base                 >= 4.6     && < 5                      , directory            >= 1.2     && < 1.3-                     , time                 >= 1.4     && < 1.5+                     , time                 >= 1.4     && < 1.6                      , old-locale           >= 1.0     && < 1.1                      , text                 >= 1.2     && < 2.0                      , transformers         >= 0.3     && < 0.5