{"@context":"https://w3id.org/codemeta/3.0","@type":"SoftwareSourceCode","identifier":"pkg:hackage/deriving-compat","name":"deriving-compat","description":"deriving-compat provides Template Haskell functions that\nmimic deriving extensions that were introduced or modified\nin recent versions of GHC. Currently, the following\ntypeclasses/extensions are covered:\n\nDeriving Bounded\n\nDeriving Enum\n\nDeriving Ix\n\nDeriving Eq\n\nDeriving Ord\n\nDeriving Read\n\nDeriving Show\n\nGeneralizedNewtypeDeriving (with GHC 8.2 or later)\n\nDerivingVia (with GHC 8.2 or later)\n\nSee the Data.Deriving module for a full list of backported changes.\n\nIn addition, deriving-compat also provides some additional\nderiving functionality that has not yet been merged into\nupstream GHC. Aside from the GHC deriving extensions\nmentioned above, deriving-compat also permits deriving\ninstances of classes in the Data.Functor.Classes module,\ncovering the Eq1, Eq2, Ord1, Ord2, Read1,\nRead2, Show1, and Show2 classes. This extra\nfunctionality is outside of the main scope of\nderiving-compat, as it does not backport extensions that\nexist in today's GHC. Nevertheless, the underlying Template\nHaskell machinery needed to derive Eq and friends\nextends very naturally to Eq1 and friends, so this extra\nfunctionality is included in deriving-compat as a\nconvenience.\n\nNote that some recent GHC typeclasses/extensions are not covered by this package:\n\nDeriveGeneric, which was introducted in GHC 7.2 for deriving\nGeneric instances, and modified in GHC 7.6 to allow derivation\nof Generic1 instances. Use Generics.Deriving.TH from\ngeneric-deriving\nto derive Generic(1) using Template Haskell.\n\nDeriveLift, which was introduced in GHC 8.0 for deriving\nLift instances. Use Language.Haskell.TH.Lift from\nth-lift\nto derive Lift using Template Haskell.\n\nThe Bifunctor typeclass, which was introduced in GHC 7.10,\nas well as the Bifoldable and Bitraversable typeclasses, which\nwere introduced in GHC 8.2. Use Data.Bifunctor.TH from\nbifunctors\nto derive these typeclasses using Template Haskell.","version":"0.6.8","softwareVersion":"0.6.8","license":"https://spdx.org/licenses/BSD-3-Clause","codeRepository":"https://github.com/haskell-compat/deriving-compat","issueTracker":"https://github.com/haskell-compat/deriving-compat/issues","url":"https://github.com/haskell-compat/deriving-compat","keywords":["bsd3","compatibility","library","Propose Tags"],"programmingLanguage":{"@type":"ComputerLanguage","name":"Haskell"},"maintainer":[{"@type":"Person","name":"ryanglscott"}],"author":[{"@type":"Person","name":"ryanglscott"}],"copyrightHolder":[{"@type":"Person","name":"ryanglscott"}],"dateCreated":"2015-07-26","dateModified":"2026-01-08","datePublished":"2026-01-08","copyrightYear":2015,"downloadUrl":"https://hackage.haskell.org/package/deriving-compat-0.6.8/deriving-compat-0.6.8.tar.gz","applicationCategory":"hackage","runtimePlatform":"hackage","developmentStatus":"active","sameAs":["https://hackage.haskell.org/package/deriving-compat"],"https://www.w3.org/ns/activitystreams#likes":14,"https://forgefed.org/ns#forks":5}