Commit Graph

3 Commits

Author SHA256 Message Date
ec660e7202 Accepting request 403544 from devel:languages:haskell:lts
- update to 1.10.5
* Apply an optimization to generated to(1)/from(1) instances that factors
    out common occurrences of M1
* Export internal typeclass names
* Fix Haddock issues with GHC 7.8

OBS-URL: https://build.opensuse.org/request/show/403544
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-generic-deriving?expand=0&rev=4
2016-06-19 20:08:01 +00:00
ff35130cfd Accepting request 398212 from devel:languages:haskell:lts
- update to 1.10.4.1
* Fix Haddock parsing issue on GHC 8.0
* Backported MonadPlus and MonadZip instances for U1, and made the Functor,
	 Foldable, Traversable, Alternative, and Monad instances for U1 lazier to
	 correspond with base-4.9
* Backported Enum, Bounded, Ix, Functor, Applicative, Monad, MonadFix, MonadPlus,
	 MonadZip, Foldable, Traversable, and Data instances (introduced in base-4.9)
	 for datatypes in the Generics.Deriving.Base module
* Added Generics.Deriving.Semigroup
* Added GMonoid instance for Data.Monoid.Alt
* Fixed a bug in the GEnum instances for unsigned Integral types
* Added Safe/Trustworthy pragmas
* Made instances polykinded where possible
* On GHC 8.0 and up, Generics.Deriving.TH uses the new type literal-based machinery
* Rewrote the Template Haskell code to be robust. Among other things, this fixes
	 a bug with deriving Generic1 instances on GHC 7.8, and makes it easier to
	 derive Generic1 instances for datatypes that utilize GHC 8.0's
	 -XTypeInType extension.
* Added deriveAll0 and makeRep0 for symmetry with deriveAll1 and makeRep1
* AddedmakeRep0FromType and makeRep1FromType to make it easier to pass in the type
	 instance
* Added functions with the suffix -WithKindSigs to allow generating type synonyms
	 with explicit kind signatures in the presence of kind-polymorphic type
	 variables. This is necessary for some datatypes that use -XTypeInType to have
	 derived Generic(1) instances, but is not turned on by default since the TH
	 kind inference is not perfect and would cause otherwise valid code to be
	 rejected. Use only if you know what you are doing.
* Fixed bug where a datatype with a single, nullary constructor would generate
	 incorrect Generic instances
* More sensible GEnum instances for fixed-size integral types

OBS-URL: https://build.opensuse.org/request/show/398212
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-generic-deriving?expand=0&rev=2
2016-05-26 12:27:06 +00:00
b47dfc73e1 Accepting request 397584 from devel:languages:haskell:lts
generic-deriving

OBS-URL: https://build.opensuse.org/request/show/397584
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-generic-deriving?expand=0&rev=1
2016-05-23 21:07:47 +00:00