packages feed

newtype-generics 0.6.2 → 0.6.3

raw patch · 3 files changed

+16/−10 lines, 3 filesdep ~basenew-uploaderPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: base

API changes (from Hackage documentation)

- Control.Newtype.Generics: instance Control.Newtype.Generics.Newtype (Data.Semigroup.Option a)
- Control.Newtype.Generics: type family O n :: Type;
+ Control.Newtype.Generics: ($dmpack) :: (Newtype n, Generic n, GNewtype (Rep n), O n ~ GO (Rep n)) => O n -> n
+ Control.Newtype.Generics: ($dmunpack) :: (Newtype n, Generic n, GNewtype (Rep n), O n ~ GO (Rep n)) => n -> O n
- Control.Newtype.Generics: pack :: (Newtype n, Generic n, GNewtype (Rep n), O n ~ GO (Rep n)) => O n -> n
+ Control.Newtype.Generics: pack :: Newtype n => O n -> n
- Control.Newtype.Generics: type O n = GO (Rep n);
+ Control.Newtype.Generics: type O n = GO Rep n;
- Control.Newtype.Generics: unpack :: (Newtype n, Generic n, GNewtype (Rep n), O n ~ GO (Rep n)) => n -> O n
+ Control.Newtype.Generics: unpack :: Newtype n => n -> O n

Files

CHANGELOG.md view
@@ -1,5 +1,9 @@ # Changelog for `newtype-generics` +## [0.6.3] – 2026-05-30+- Maintainer switch to Haskell Github Trust+- Support newer compilers.+ ## [0.6.2] – 2022-05-19 - Remove dependency on `transformers`. 
Control/Newtype/Generics.hs view
@@ -6,6 +6,7 @@ {-# LANGUAGE MultiParamTypeClasses      #-} {-# LANGUAGE StandaloneDeriving         #-} {-# LANGUAGE TypeFamilies               #-}+{-# LANGUAGE TypeOperators              #-} {-# LANGUAGE UndecidableInstances       #-} {- | The 'Newtype' typeclass and related functions.
newtype-generics.cabal view
@@ -1,5 +1,5 @@ Name:                newtype-generics-Version:             0.6.2+Version:             0.6.3 Synopsis:            A typeclass and set of functions for working with newtypes Description:         Per Conor McBride, the Newtype typeclass represents the packing and unpacking of a newtype,                      and allows you to operate under that newtype with functions such as ala.@@ -8,25 +8,26 @@ License:             BSD3 License-file:        LICENSE Author:              Darius Jahandarie, Conor McBride, João Cristóvão, Simon Jakobi-Maintainer:          Simon Jakobi <simon.jakobi@gmail.com>-Homepage:            http://github.com/sjakobi/newtype-generics+Maintainer:          Haskell Github Trust <https://github.com/haskell-github-trust>+Homepage:            http://github.com/haskell-github-trust/newtype-generics Category:            Control Build-type:          Simple Extra-source-files:  CHANGELOG.md Cabal-version:       >=1.10 Tested-with:+  GHC==9.14.1,+  GHC==9.12.4,+  GHC==9.10.3,+  GHC==9.8.4,+  GHC==9.6.7,+  GHC==9.4.2,   GHC==9.2.1,   GHC==9.0.1,-  GHC==8.10.4,-  GHC==8.8.4,-  GHC==8.6.5,-  GHC==8.4.4,-  GHC==8.2.2,-  GHC==8.0.2+  GHC==8.10.7  Library   Exposed-modules:     Control.Newtype.Generics-  Build-depends:       base >= 4.9 && < 4.17+  Build-depends:       base >= 4.9 && < 4.23   Ghc-options: -Wall   default-language:   Haskell2010