packages feed

indexed-traversable 0.1 → 0.1.1

raw patch · 6 files changed

+38/−3 lines, 6 filesdep ~transformersdep ~transformers-compatPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: transformers, transformers-compat

API changes (from Hackage documentation)

Files

Changelog.md view
@@ -1,3 +1,8 @@+# 0.1.1 [2020-12-27]++- Mark all modules as `Safe`.+  See https://gitlab.haskell.org/ghc/ghc/-/issues/19127+ # 0.1 [2020-12-15]  - Split out and combine this package functionality from `lens` and `optics`
indexed-traversable.cabal view
@@ -1,6 +1,6 @@ cabal-version:      1.12 name:               indexed-traversable-version:            0.1+version:            0.1.1 build-type:         Simple license:            BSD2 license-file:       LICENSE@@ -56,7 +56,10 @@   default-language: Haskell2010   ghc-options:      -Wall   hs-source-dirs:   src-  other-modules:    WithIndex+  other-modules:+    GhcExts+    WithIndex+   exposed-modules:     Data.Foldable.WithIndex     Data.Functor.WithIndex
src/Data/Foldable/WithIndex.hs view
@@ -1,3 +1,9 @@+{-# LANGUAGE CPP         #-}+#if __GLASGOW_HASKELL__ >= 704+{-# LANGUAGE Safe        #-}+#elif __GLASGOW_HASKELL__ >= 702+{-# LANGUAGE Trustworthy #-}+#endif -- | Indexed Foldables. module Data.Foldable.WithIndex (     -- * Indexed Foldables@@ -24,8 +30,8 @@ import Control.Monad       (liftM, void) import Data.Foldable       (Foldable, any) import Data.Monoid         (All (..), Any (..))-import GHC.Exts            (build) +import GhcExts (build) import WithIndex  -- | Return whether or not any element in a container satisfies a predicate, with access to the index @i@.
src/Data/Functor/WithIndex.hs view
@@ -1,3 +1,9 @@+{-# LANGUAGE CPP         #-}+#if __GLASGOW_HASKELL__ >= 704+{-# LANGUAGE Safe        #-}+#elif __GLASGOW_HASKELL__ >= 702+{-# LANGUAGE Trustworthy #-}+#endif module Data.Functor.WithIndex (     -- * Indexed Functors     FunctorWithIndex(..),
src/Data/Traversable/WithIndex.hs view
@@ -1,3 +1,9 @@+{-# LANGUAGE CPP         #-}+#if __GLASGOW_HASKELL__ >= 704+{-# LANGUAGE Safe        #-}+#elif __GLASGOW_HASKELL__ >= 702+{-# LANGUAGE Trustworthy #-}+#endif -- | Indexed Traversables module Data.Traversable.WithIndex (     -- * Indexed Traversables
+ src/GhcExts.hs view
@@ -0,0 +1,9 @@+{-# LANGUAGE CPP         #-}+#if __GLASGOW_HASKELL__ >= 702+{-# LANGUAGE Trustworthy #-}+#endif+module GhcExts (+    build,+) where++import GHC.Exts (build)