monad-control 0.3 for yesod package

This commit is contained in:
Michael Snoyman 2011-12-05 11:18:14 +02:00
parent 7619e4e9dd
commit 37ab6737ee
5 changed files with 16 additions and 4 deletions

View File

@ -1,5 +1,5 @@
name: yesod-core
version: 0.9.3.4
version: 0.9.3.5
license: BSD3
license-file: LICENSE
author: Michael Snoyman <michael@snoyman.com>

View File

@ -15,7 +15,11 @@ module Yesod
, Application
, lift
, liftIO
#if MIN_VERSION_monad_control(0, 3, 0)
, MonadBaseControl
#else
, MonadControlIO
#endif
-- * Utilities
, showIntegral
, readIntegral
@ -50,7 +54,11 @@ import Network.Wai (Application)
import Network.Wai.Middleware.Debug
import Control.Monad.Trans.Class (lift)
import Control.Monad.IO.Class (liftIO)
#if MIN_VERSION_monad_control(0, 3, 0)
import Control.Monad.Trans.Control (MonadBaseControl)
#else
import Control.Monad.IO.Control (MonadControlIO)
#endif
import Network.Wai.Handler.Warp (run)
import System.IO (stderr, hPutStrLn)

View File

@ -46,6 +46,7 @@ library
TypeFamilies
GADTs
GeneralizedNewtypeDeriving
FlexibleContexts
executable ~project~
if flag(devel)
@ -69,9 +70,10 @@ executable ~project~
TypeFamilies
GADTs
GeneralizedNewtypeDeriving
FlexibleContexts
build-depends: base >= 4 && < 5
, yesod >= 0.9 && < 0.10
, yesod >= 0.9.3.4 && < 0.10
, yesod-core >= 0.9.3 && < 0.10
, yesod-auth >= 0.7.3 && < 0.8
, yesod-static >= 0.3.1 && < 0.4
@ -89,3 +91,4 @@ executable ~project~
, shakespeare-js >= 0.10 && < 0.11
, shakespeare-text >= 0.10 && < 0.11
, hjsmin >= 0.0.14 && < 0.1
, monad-control >= 0.3 && < 0.4

View File

@ -76,4 +76,5 @@ executable ~project~
, shakespeare-text >= 0.10 && < 0.11
, wai >= 0.4.2 && < 0.5
, transformers >= 0.2 && < 0.3
, monad-control >= 0.3 && < 0.4

View File

@ -1,5 +1,5 @@
name: yesod
version: 0.9.3.3
version: 0.9.3.4
license: BSD3
license-file: LICENSE
author: Michael Snoyman <michael@snoyman.com>
@ -76,7 +76,7 @@ library
, yesod-json >= 0.2.2 && < 0.3
, yesod-persistent >= 0.2 && < 0.3
, yesod-form >= 0.3 && < 0.4
, monad-control >= 0.2 && < 0.3
, monad-control >= 0.2 && < 0.4
, transformers >= 0.2.2 && < 0.3
, wai >= 0.4 && < 0.5
, wai-extra >= 0.4.1 && < 0.5