packages feed

universe 1.2 → 1.2.1

raw patch · 4 files changed

+40/−9 lines, 4 filesdep ~universe-basedep ~universe-instances-extendeddep ~universe-reverse-instances

Dependency ranges changed: universe-base, universe-instances-extended, universe-reverse-instances, universe-some

Files

changelog view
@@ -1,3 +1,6 @@+1.2.1+* Explicitly mark modules as Safe or Trustworthy+ 1.2 * Use universe-some-1.2, which uses a Some-type from the some-package. 
src/Data/Universe.hs view
@@ -1,5 +1,10 @@ {-# LANGUAGE CPP #-} {-# LANGUAGE NoImplicitPrelude #-}+#if __GLASGOW_HASKELL__ >=704+{-# LANGUAGE Safe #-}+#elif __GLASGOW_HASKELL__ >=702+{-# LANGUAGE Trustworthy #-}+#endif -- | A convenience module that imports the submodules @Instances.Base@, @Instances.Containers@, -- @Instances.Extended@, and @Instances.Trans@ to provide instances of -- 'Universe' and 'Finite' for a wide variety of types.
src/Data/Universe/Instances/Reverse.hs view
@@ -1,4 +1,10 @@+{-# LANGUAGE CPP #-} {-# LANGUAGE NoImplicitPrelude #-}+#if __GLASGOW_HASKELL__ >=704+{-# LANGUAGE Safe #-}+#elif __GLASGOW_HASKELL__ >=702+{-# LANGUAGE Trustworthy #-}+#endif -- | A convenience module that imports the sibling modules @Eq@, @Ord@, -- @Show@, @Read@, and @Traversable@ to provide instances of these classes -- for functions over finite inputs.
universe.cabal view
@@ -1,5 +1,5 @@ name:               universe-version:            1.2+version:            1.2.1 synopsis:           A class for finite and recursively enumerable types. description:   A class for finite and recursively enumerable types and some helper functions for enumerating them@@ -22,7 +22,17 @@ cabal-version:      >=1.10 extra-source-files: changelog tested-with:-  GHC ==8.8.1 || ==8.6.5 || ==8.4.4 || ==8.2.2 || ==8.0.2 || ==7.10.3 || ==7.8.4 || ==7.6.3 || ==7.4.2 || ==7.0.4+  GHC ==7.0.4+   || ==7.4.2+   || ==7.6.3+   || ==7.8.4+   || ==7.10.3+   || ==8.0.2+   || ==8.2.2+   || ==8.4.4+   || ==8.6.5+   || ==8.8.4+   || ==8.10.3  source-repository head   type:     git@@ -31,17 +41,24 @@ source-repository this   type:     git   location: https://github.com/dmwit/universe-  tag:      1.1+  tag:      universe-1.2.1  library-  default-language: Haskell2010-  hs-source-dirs:   src+  default-language:         Haskell2010+  hs-source-dirs:           src   exposed-modules:     Data.Universe     Data.Universe.Instances.Reverse    build-depends:-      universe-base                >=1.1   && <1.1.2-    , universe-instances-extended  >=1.1.1 && <1.1.2-    , universe-reverse-instances   >=1.1   && <1.1.1-    , universe-some                >=1.2   && <1.2.1+      universe-base                >=1.1.2 && <1.1.3+    , universe-instances-extended  >=1.1.2 && <1.1.3+    , universe-reverse-instances   >=1.1.1 && <1.1.2+    , universe-some                >=1.2.1 && <1.2.2++  if impl(ghc >=9.0)+    -- these flags may abort compilation with GHC-8.10+    -- https://gitlab.haskell.org/ghc/ghc/-/merge_requests/3295+    ghc-options: -Winferred-safe-imports -Wmissing-safe-haskell-mode++  x-docspec-extra-packages: base