packages feed

base-compat 0.10.3 → 0.10.4

raw patch · 13 files changed

+42/−2 lines, 13 filesdep ~basePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base

API changes (from Hackage documentation)

Files

CHANGES.markdown view
@@ -1,3 +1,8 @@+## Changes in 0.10.4 [2018.07.03]+ - Make more modules `Trustworthy`. In particular, fix a regression in which+   `Prelude.Compat` was inferred as `Unsafe` by explicitly marking it as+   `Trustwothy`.+ ## Changes in 0.10.3 [2018.07.02]  - Backport the proper fixity for `($!)`, which was accidentally omitted in    `base-compat-0.10.2`.
base-compat.cabal view
@@ -1,5 +1,5 @@ name:             base-compat-version:          0.10.3+version:          0.10.4 license:          MIT license-file:     LICENSE copyright:        (c) 2012-2018 Simon Hengel,@@ -69,6 +69,8 @@       build-depends: unix   ghc-options:       -fno-warn-duplicate-exports+  if impl(ghc >= 7.10)+    ghc-options: -fno-warn-trustworthy-safe    hs-source-dirs:       src
src/Control/Concurrent/Compat.hs view
@@ -1,5 +1,8 @@ {-# LANGUAGE CPP, NoImplicitPrelude #-} {-# LANGUAGE RankNTypes #-}+#if __GLASGOW_HASKELL__ >= 702+{-# LANGUAGE Trustworthy #-}+#endif module Control.Concurrent.Compat (   module Base , forkFinally
src/Control/Exception/Compat.hs view
@@ -1,4 +1,7 @@ {-# LANGUAGE CPP, NoImplicitPrelude #-}+#if __GLASGOW_HASKELL__ >= 702+{-# LANGUAGE Trustworthy #-}+#endif #if MIN_VERSION_base(4,10,0) {-# LANGUAGE MagicHash #-} {-# LANGUAGE RankNTypes #-}
src/Data/List/Compat.hs view
@@ -1,5 +1,8 @@ {-# LANGUAGE CPP, NoImplicitPrelude #-} {-# LANGUAGE BangPatterns #-}+#if __GLASGOW_HASKELL__ >= 702+{-# LANGUAGE Trustworthy #-}+#endif module Data.List.Compat (   module Base #if !(MIN_VERSION_base(4,11,0))
src/Data/STRef/Compat.hs view
@@ -1,4 +1,7 @@ {-# LANGUAGE CPP, NoImplicitPrelude #-}+#if __GLASGOW_HASKELL__ >= 702+{-# LANGUAGE Trustworthy #-}+#endif module Data.STRef.Compat (   module Base , modifySTRef'
src/Data/Type/Coercion/Compat.hs view
@@ -1,5 +1,8 @@ {-# LANGUAGE CPP, NoImplicitPrelude #-} {-# LANGUAGE RankNTypes #-}+#if __GLASGOW_HASKELL__ >= 702+{-# LANGUAGE Trustworthy #-}+#endif module Data.Type.Coercion.Compat ( #if MIN_VERSION_base(4,7,0)   module Base
src/Foreign/Compat.hs view
@@ -1,4 +1,7 @@-{-# LANGUAGE NoImplicitPrelude #-}+{-# LANGUAGE CPP, NoImplicitPrelude #-}+#if __GLASGOW_HASKELL__ >= 702+{-# LANGUAGE Trustworthy #-}+#endif module Foreign.Compat (   module Base , module Marshal
src/Foreign/ForeignPtr/Compat.hs view
@@ -1,5 +1,8 @@ {-# LANGUAGE CPP, NoImplicitPrelude #-} {-# LANGUAGE MagicHash #-}+#if __GLASGOW_HASKELL__ >= 702+{-# LANGUAGE Trustworthy #-}+#endif module Foreign.ForeignPtr.Compat (   module Base , plusForeignPtr
src/Foreign/ForeignPtr/Safe/Compat.hs view
@@ -1,4 +1,7 @@ {-# LANGUAGE CPP, NoImplicitPrelude #-}+#if __GLASGOW_HASKELL__ >= 702+{-# LANGUAGE Trustworthy #-}+#endif module Foreign.ForeignPtr.Safe.Compat (         -- * Finalised data pointers           ForeignPtr
src/Foreign/Marshal/Compat.hs view
@@ -1,4 +1,7 @@ {-# LANGUAGE CPP, NoImplicitPrelude #-}+#if __GLASGOW_HASKELL__ >= 702+{-# LANGUAGE Trustworthy #-}+#endif module Foreign.Marshal.Compat (   module Base , module Alloc
src/Prelude/Compat.hs view
@@ -1,4 +1,7 @@ {-# LANGUAGE CPP, NoImplicitPrelude #-}+#if __GLASGOW_HASKELL__ >= 702+{-# LANGUAGE Trustworthy #-}+#endif #if MIN_VERSION_base(4,10,0) && !(MIN_VERSION_base(4,12,0)) {-# LANGUAGE RankNTypes #-} {-# LANGUAGE TypeInType #-}
src/Type/Reflection/Compat.hs view
@@ -1,4 +1,7 @@ {-# LANGUAGE CPP, NoImplicitPrelude #-}+#if __GLASGOW_HASKELL__ >= 702+{-# LANGUAGE Trustworthy #-}+#endif #if MIN_VERSION_base(4,10,0) && !(MIN_VERSION_base(4,11,0)) {-# LANGUAGE RankNTypes #-} {-# LANGUAGE ScopedTypeVariables #-}