core-program 0.6.5.1 → 0.6.6.0
raw patch · 2 files changed
+5/−3 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- core-program.cabal +2/−2
- lib/Core/Program/Context.hs +3/−1
core-program.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack name: core-program-version: 0.6.5.1+version: 0.6.6.0 synopsis: Opinionated Haskell Interoperability description: A library to help build command-line programs, both tools and longer-running daemons.@@ -27,7 +27,7 @@ license-file: LICENSE build-type: Simple tested-with:- GHC == 8.10.7, GHC == 9.2.5+ GHC == 8.10.7, GHC == 9.2.7 source-repository head type: git
lib/Core/Program/Context.hs view
@@ -79,6 +79,7 @@ , spanNameFrom :: Rope , serviceNameFrom :: Maybe Rope , spanTimeFrom :: Time+ , datasetFrom :: Maybe Rope , traceIdentifierFrom :: Maybe Trace , parentIdentifierFrom :: Maybe Span , durationFrom :: Maybe Int64@@ -93,6 +94,7 @@ , spanNameFrom = emptyRope , serviceNameFrom = Nothing , spanTimeFrom = epochTime+ , datasetFrom = Nothing , traceIdentifierFrom = Nothing , parentIdentifierFrom = Nothing , durationFrom = Nothing@@ -313,7 +315,7 @@ getContext = do context <- ask pure context-{-# INLINABLE getContext #-}+{-# INLINEABLE getContext #-} {- | Run a subprogram from within a lifted @IO@ block.