network-transport 0.4.1.0 → 0.4.2.0
raw patch · 3 files changed
+15/−6 lines, 3 filesdep +deepseqnew-uploaderPVP ok
version bump matches the API change (PVP)
Dependencies added: deepseq
API changes (from Hackage documentation)
+ Network.Transport: instance NFData EndPointAddress
Files
- ChangeLog +5/−0
- network-transport.cabal +7/−6
- src/Network/Transport.hs +3/−0
ChangeLog view
@@ -1,3 +1,8 @@+2015-06-15 Facundo Domínguez <facundo.dominguez@tweag.io> 0.4.2.0++* Add NFData instance for EndPointAddress.+* Relax dependency bounds.+ 2014-12-09 Tim Watson <watson.timothy@gmail.com> 0.4.1.0 * foreigns htonl, ntohl, htons, ntohs are imported from ws2_32 on windows
network-transport.cabal view
@@ -1,12 +1,12 @@ Name: network-transport-Version: 0.4.1.0+Version: 0.4.2.0 Cabal-Version: >=1.6 Build-Type: Simple License: BSD3 License-File: LICENSE Copyright: Well-Typed LLP Author: Duncan Coutts, Nicolas Wu, Edsko de Vries-Maintainer: edsko@well-typed.com, duncan@well-typed.com, watson.timothy@gmail.com+Maintainer: Facundo Domínguez <facundo.dominguez@tweag.io> Stability: experimental Homepage: http://haskell-distributed.github.com Bug-Reports: https://cloud-haskell.atlassian.net/browse/NT@@ -35,12 +35,12 @@ . * In addition to incoming messages, 'EndPoint's are notified of other 'Event's such as new connections or broken connections.- . + . This design was heavily influenced by the design of the Common Communication Interface (<http://www.olcf.ornl.gov/center-projects/common-communication-interface>). Important design goals are:- . + . * Connections should be lightweight: it should be no problem to create thousands of connections between endpoints. .@@ -55,7 +55,7 @@ This package provides the generic interface only; you will probably also want to install at least one transport implementation (network-transport-*).-Tested-With: GHC==7.0.4 GHC==7.2.2 GHC==7.4.1 GHC==7.4.2+Tested-With: GHC==7.4.2 GHC==7.6.3 GHC==7.8.4 GHC==7.10.1 Category: Network extra-source-files: ChangeLog @@ -68,7 +68,8 @@ binary >= 0.5 && < 0.8, bytestring >= 0.9 && < 0.11, hashable >= 1.2.0.5 && < 1.3,- transformers >= 0.2 && < 0.5+ transformers >= 0.2 && < 0.5,+ deepseq >= 1.0 && < 1.5 if impl(ghc < 7.6) Build-Depends: ghc-prim >= 0.2 && < 0.4 Exposed-Modules: Network.Transport,
src/Network/Transport.hs view
@@ -26,6 +26,7 @@ import Data.ByteString (ByteString) import qualified Data.ByteString as BS (copy) import qualified Data.ByteString.Char8 as BSC (unpack)+import Control.DeepSeq (NFData(rnf)) import Control.Exception (Exception) import Control.Applicative ((<$>)) import Data.Typeable (Typeable)@@ -149,6 +150,8 @@ instance Show EndPointAddress where show = BSC.unpack . endPointAddressToByteString++instance NFData EndPointAddress where rnf x = x `seq` () -- | EndPointAddress of a multicast group. newtype MulticastAddress = MulticastAddress { multicastAddressToByteString :: ByteString }