Upgraded dependencies
This commit is contained in:
parent
757285f4fd
commit
7e2179f3d8
@ -13,7 +13,6 @@ import qualified System.Log.Logger as HSL
|
||||
import ClassyPrelude
|
||||
import Control.Concurrent.Lifted (threadDelay)
|
||||
import Control.Exception.Lifted (mask_, mask)
|
||||
import Control.Monad.Reader (ask)
|
||||
import Control.Monad.State (get, put)
|
||||
import Data.Time (addUTCTime)
|
||||
import System.IO (hIsEOF)
|
||||
|
@ -1,9 +1,8 @@
|
||||
module Network.IRC.Handlers.Core (coreMsgHandlerMakers) where
|
||||
|
||||
import ClassyPrelude
|
||||
import Control.Monad.Reader (ask)
|
||||
import Data.Convertible (convert)
|
||||
import Data.Time (addUTCTime)
|
||||
import Data.Convertible (convert)
|
||||
import Data.Time (addUTCTime)
|
||||
|
||||
import Network.IRC.Types
|
||||
import Network.IRC.Util
|
||||
|
@ -9,7 +9,6 @@ import qualified Data.Configurator as CF
|
||||
|
||||
import ClassyPrelude
|
||||
import Control.Monad.Base (MonadBase)
|
||||
import Control.Monad.Reader (ReaderT, MonadReader, runReaderT)
|
||||
import Control.Monad.State (StateT, MonadState, execStateT)
|
||||
import Data.Configurator.Types (Config)
|
||||
|
||||
|
@ -6,7 +6,6 @@ module Network.IRC.Util where
|
||||
import qualified Data.Text.Format as TF
|
||||
|
||||
import ClassyPrelude
|
||||
import Control.Arrow (Arrow)
|
||||
import Control.Monad.Base (MonadBase)
|
||||
import Data.Convertible (convert)
|
||||
import Data.Text (strip)
|
||||
@ -30,9 +29,6 @@ clean = toLower . strip
|
||||
io :: MonadIO m => IO a -> m a
|
||||
io = liftIO
|
||||
|
||||
both :: Arrow cat => cat b d -> cat (b, b) (d, d)
|
||||
both f = first f . second f
|
||||
|
||||
atomicModIORef :: MonadBase IO f => IORef t -> (t -> t) -> f ()
|
||||
atomicModIORef ref f = void . atomicModifyIORef' ref $ \v -> (f v, v)
|
||||
|
||||
|
@ -54,7 +54,7 @@ library
|
||||
DeriveDataTypeable, Trustworthy
|
||||
|
||||
build-depends: base >=4.5 && <4.8,
|
||||
classy-prelude >=0.9 && <1.0,
|
||||
classy-prelude >=0.10 && <1.0,
|
||||
configurator >=0.2 && <0.3,
|
||||
convertible >=1.1 && <1.2,
|
||||
hslogger >=1.2 && <1.3,
|
||||
@ -63,7 +63,6 @@ library
|
||||
mtl >=2.1 && <2.3,
|
||||
network >=2.5 && <2.6,
|
||||
safecopy >=0.8 && <0.9,
|
||||
stm >=2.4 && <2.5,
|
||||
text >=1.1 && <1.2,
|
||||
text-format >=0.3 && <0.4,
|
||||
time >=1.4 && <1.5,
|
||||
|
@ -1,7 +1,6 @@
|
||||
module Network.IRC.Handlers.Greet (greetMsgHandlerMaker, welcomeMsgHandlerMaker) where
|
||||
|
||||
import ClassyPrelude
|
||||
import Control.Monad.Reader (ask)
|
||||
|
||||
import Network.IRC
|
||||
import Network.IRC.Util
|
||||
|
@ -8,7 +8,6 @@ import qualified Data.Text.Format.Params as TF
|
||||
|
||||
import ClassyPrelude hiding ((</>), (<.>), FilePath, log)
|
||||
import Control.Exception.Lifted (mask_)
|
||||
import Control.Monad.Reader (ask)
|
||||
import Data.Time (diffDays)
|
||||
import System.Directory (createDirectoryIfMissing, getModificationTime, copyFile, removeFile)
|
||||
import System.FilePath (FilePath, (</>), (<.>))
|
||||
|
@ -9,7 +9,6 @@ import qualified Data.UUID as U
|
||||
import qualified Data.UUID.V4 as U
|
||||
|
||||
import ClassyPrelude hiding (swap)
|
||||
import Control.Monad.Reader (ask)
|
||||
import Control.Monad.State (get, put)
|
||||
import Data.Acid (AcidState, Query, Update, makeAcidic, query, update,
|
||||
openLocalState, createArchive)
|
||||
|
@ -8,7 +8,6 @@ import qualified System.Log.Logger as HSL
|
||||
|
||||
import ClassyPrelude
|
||||
import Control.Exception.Lifted (evaluate)
|
||||
import Control.Monad.Reader (ask)
|
||||
import Data.Aeson (FromJSON, parseJSON, Value (..), (.:))
|
||||
import Data.Aeson.Types (emptyArray)
|
||||
import Data.Text (strip)
|
||||
|
@ -7,7 +7,6 @@ module Network.IRC.Handlers.Tell (tellMsgHandlerMaker) where
|
||||
import qualified Data.IxSet as IS
|
||||
|
||||
import ClassyPrelude hiding (swap)
|
||||
import Control.Monad.Reader (ask)
|
||||
import Control.Monad.State (get, put)
|
||||
import Data.Acid (AcidState, Query, Update, makeAcidic, query, update,
|
||||
openLocalState, createArchive)
|
||||
|
@ -57,7 +57,7 @@ library
|
||||
hask-irc-core ==0.1.0,
|
||||
acid-state >=0.12 && <0.13,
|
||||
aeson >=0.7 && <0.8,
|
||||
classy-prelude >=0.9 && <1.0,
|
||||
classy-prelude >=0.10 && <1.0,
|
||||
configurator >=0.2 && <0.3,
|
||||
convertible >=1.1 && <1.2,
|
||||
curl-aeson >=0.0.3 && <0.1,
|
||||
|
@ -63,7 +63,7 @@ executable hask-irc
|
||||
build-depends: base >=4.5 && <4.8,
|
||||
hask-irc-core ==0.1.0,
|
||||
hask-irc-handlers ==0.1.0,
|
||||
classy-prelude >=0.9 && <1.0,
|
||||
classy-prelude >=0.10 && <1.0,
|
||||
configurator >=0.2 && <0.3
|
||||
|
||||
-- Directories containing source files.
|
||||
|
Loading…
Reference in New Issue
Block a user