Permalink
Browse files

Support for network 2.4.1

  • Loading branch information...
1 parent 96c8769 commit 46b3f1f3faa68970efb12981d43d45526de4f914 @knsd knsd committed Jan 20, 2013
Showing with 4 additions and 1 deletion.
  1. +3 −0 Database/MongoDB/Internal/Util.hs
  2. +1 −1 mongoDB.cabal
@@ -1,6 +1,7 @@
-- | Miscellaneous general functions and Show, Eq, and Ord instances for PortID
{-# LANGUAGE FlexibleInstances, UndecidableInstances, StandaloneDeriving #-}
+{-# LANGUAGE CPP #-}
-- PortID instances
{-# OPTIONS_GHC -fno-warn-orphans #-}
@@ -29,8 +30,10 @@ import Data.Text (Text)
import qualified Data.Text as T
+#if !MIN_VERSION_network(2, 4, 1)
deriving instance Show PortID
deriving instance Eq PortID
+#endif
deriving instance Ord PortID
-- | MonadIO with extra Applicative and Functor superclasses
View
@@ -1,5 +1,5 @@
Name: mongoDB
-Version: 1.3.1
+Version: 1.3.2
Synopsis: Driver (client) for MongoDB, a free, scalable, fast, document
DBMS
Description: This package lets you connect to MongoDB servers and

0 comments on commit 46b3f1f

Please sign in to comment.