Support for network 2.4.1
This commit is contained in:
parent
96c876979c
commit
46b3f1f3fa
2 changed files with 4 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
||||||
-- | Miscellaneous general functions and Show, Eq, and Ord instances for PortID
|
-- | Miscellaneous general functions and Show, Eq, and Ord instances for PortID
|
||||||
|
|
||||||
{-# LANGUAGE FlexibleInstances, UndecidableInstances, StandaloneDeriving #-}
|
{-# LANGUAGE FlexibleInstances, UndecidableInstances, StandaloneDeriving #-}
|
||||||
|
{-# LANGUAGE CPP #-}
|
||||||
-- PortID instances
|
-- PortID instances
|
||||||
{-# OPTIONS_GHC -fno-warn-orphans #-}
|
{-# OPTIONS_GHC -fno-warn-orphans #-}
|
||||||
|
|
||||||
|
@ -29,8 +30,10 @@ import Data.Text (Text)
|
||||||
|
|
||||||
import qualified Data.Text as T
|
import qualified Data.Text as T
|
||||||
|
|
||||||
|
#if !MIN_VERSION_network(2, 4, 1)
|
||||||
deriving instance Show PortID
|
deriving instance Show PortID
|
||||||
deriving instance Eq PortID
|
deriving instance Eq PortID
|
||||||
|
#endif
|
||||||
deriving instance Ord PortID
|
deriving instance Ord PortID
|
||||||
|
|
||||||
-- | MonadIO with extra Applicative and Functor superclasses
|
-- | MonadIO with extra Applicative and Functor superclasses
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
Name: mongoDB
|
Name: mongoDB
|
||||||
Version: 1.3.1
|
Version: 1.3.2
|
||||||
Synopsis: Driver (client) for MongoDB, a free, scalable, fast, document
|
Synopsis: Driver (client) for MongoDB, a free, scalable, fast, document
|
||||||
DBMS
|
DBMS
|
||||||
Description: This package lets you connect to MongoDB servers and
|
Description: This package lets you connect to MongoDB servers and
|
||||||
|
|
Loading…
Reference in a new issue