distributed-closure 0.3.3.0 → 0.3.4.0
raw patch · 2 files changed
+6/−1 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Control.Distributed.Closure.Internal: instance GHC.StaticPtr.IsStatic Control.Distributed.Closure.Internal.Closure
Files
distributed-closure.cabal view
@@ -1,5 +1,5 @@ name: distributed-closure-version: 0.3.3.0+version: 0.3.4.0 synopsis: Serializable closures for distributed programming. description: See README. homepage: https://github.com/tweag/distributed-closure
src/Control/Distributed/Closure/Internal.hs view
@@ -56,6 +56,11 @@ -- Cache the value a closure resolves to. Closure :: a -> !(Closure a) -> Closure a +#if MIN_VERSION_base(4,9,0)+instance IsStatic Closure where+ fromStaticPtr = closure+#endif+ -- Will be obsoleted by https://ghc.haskell.org/trac/ghc/wiki/Typeable. We use -- our own datatype instead of Dynamic in order to support dynClosureApply. newtype DynClosure = DynClosure Any -- invariant: only values of type Closure.