Package: ghc-generic-deriving (1.14.5-bp156.1.1)
Generic programming library for generalised deriving
This package provides functionality for generalising the deriving mechanism in Haskell to arbitrary classes. It was first described in the paper: * /A generic deriving mechanism for Haskell/. Jose Pedro Magalhaes, Atze Dijkstra, Johan Jeuring, and Andres Loeh. Haskell'10. The current implementation integrates with the new GHC Generics. See <http://www.haskell.org/haskellwiki/GHC.Generics> for more information. Template Haskell code is provided for supporting older GHCs. This library is organized as follows: * "Generics.Deriving.Base" defines the core functionality for GHC generics, including the 'Generic(1)' classes and representation data types. On modern versions of GHC, this simply re-exports "GHC.Generics" from 'base'. On older versions of GHC, this module backports parts of "GHC.Generics" that were not included at the time, including 'Generic(1)' instances. * "Generics.Deriving.TH" implements Template Haskell functionality for deriving instances of 'Generic(1)'. * Educational code: in order to provide examples of how to define and use "GHC.Generics"-based defaults, this library offers a number of modules which define examples of type classes along with default implementations for the classes' methods. Currently, the following modules are provided: "Generics.Deriving.Copoint", "Generics.Deriving.ConNames", "Generics.Deriving.Enum", "Generics.Deriving.Eq", "Generics.Deriving.Foldable", "Generics.Deriving.Functor", "Generics.Deriving.Monoid", "Generics.Deriving.Semigroup", "Generics.Deriving.Show", "Generics.Deriving.Traversable", and "Generics.Deriving.Uniplate". It is worth emphasizing that these modules are primarly intended for educational purposes. Many of the classes in these modules resemble other commonly used classes—for example, 'GShow' from "Generics.Deriving.Show" resembles 'Show' from 'base'—but in general, the classes that 'generic-deriving' defines are not drop-in replacements. Moreover, the generic defaults that 'generic-deriving' provide often make simplifying assumptions that may violate expectations of how these classes might work elsewhere. For example, the generic default for 'GShow' does not behave exactly like 'deriving Show' would. If you are seeking "GHC.Generics"-based defaults for type classes in 'base', consider using the '<http://hackage.haskell.org/package/generic-data generic-data>' library. * "Generics.Deriving.Default" provides newtypes that allow leveraging the generic defaults in this library using the 'DerivingVia' GHC language extension. * "Generics.Deriving" re-exports "Generics.Deriving.Base", "Generics.Deriving.Default", and a selection of educational modules.
Package information
- Homepage
- [https://hackage.haskell.org/package/generic-deriving]
- License
- BSD-3-Clause
- Downstream package maintainer
- Unknown: not reported in the indexed source
- Source package
- [ghc-generic-deriving]
- Software project
- [ghc-generic-deriving]
Versions and downloads for ghc-generic-deriving
| Version / release | Architecture / repository | Package size | Installed size | Files | Publisher repository artifact |
|---|---|---|---|---|---|
| 1.14.5-bp156.1.1leap-15.6 / oss | aarch64openSUSE Leap 15.6 · OSS · multi-architecture | 394 KiB | 3.0 MiB | list of files | ghc-generic-deriving-1.14.5-bp156.1.1.aarch64.rpm |
| 1.14.5-bp156.1.1leap-15.6 / oss | ppc64leopenSUSE Leap 15.6 · OSS · multi-architecture | 415 KiB | 3.6 MiB | list of files | ghc-generic-deriving-1.14.5-bp156.1.1.ppc64le.rpm |
| 1.14.5-bp156.1.1leap-15.6 / oss | s390xopenSUSE Leap 15.6 · OSS · multi-architecture | 562 KiB | 4.6 MiB | list of files | ghc-generic-deriving-1.14.5-bp156.1.1.s390x.rpm |
| 1.14.5-bp156.1.1leap-15.6 / oss | x86_64openSUSE Leap 15.6 · OSS · multi-architecture | 316 KiB | 2.3 MiB | list of files | ghc-generic-deriving-1.14.5-bp156.1.1.x86_64.rpm |
About these downloads
Each row is recorded package-index metadata for one version, architecture, suite, and repository. Names, URLs, and sizes are source-reported; a link is a potentially mutable retrieval location, not an OpenFactory redistribution claim or proof that OpenFactory retained the artifact bytes.
Other packages built from ghc-generic-deriving
- ghc-generic-deriving-devel
Haskell generic-deriving library development files
Dependencies and recommendations for ghc-generic-deriving
View 13 package relationships
dep: libHSarray-0.5.4.0-ghc8.10.7.so()(64bit)
Package not available
dep: libHSbase-4.14.3.0-ghc8.10.7.so()(64bit)
Package not available
dep: libHScontainers-0.6.5.1-ghc8.10.7.so()(64bit)
Package not available
dep: libHSdeepseq-1.4.4.0-ghc8.10.7.so()(64bit)
Package not available
dep: libHSghc-boot-th-8.10.7-ghc8.10.7.so()(64bit)
Package not available
dep: libHSghc-prim-0.6.1-ghc8.10.7.so()(64bit)
Package not available
dep: libHSinteger-gmp-1.0.3.0-ghc8.10.7.so()(64bit)
Package not available
dep: libHSpretty-1.1.3.6-ghc8.10.7.so()(64bit)
Package not available
dep: libHStemplate-haskell-2.16.0.0-ghc8.10.7.so()(64bit)
Package not available
dep: libHSth-abstraction-0.5.0.0-Qpu8BO6TCqB7afDrQPFfI-ghc8.10.7.so()(64bit)
Package not available
dep: libgmp.so.10()(64bit)
Package not available
dep: libm.so.6()(64bit)
Package not available
dep: libc.so.6(GLIBC_2.17)(64bit)
Package not available
Package file paths (4)
Paths come from the repository package-file index for the observed builds. They describe archive/package associations, not every file that will exist on a running system after maintainer scripts, alternatives, generated state, diversions, or installation choices.
- /usr/lib64/ghc-8.10.7/generic-deriving-1.14.5
- /usr/lib64/ghc-8.10.7/generic-deriving-1.14.5/libHSgeneric-deriving-1.14.5-7d3fdoJZUvAHnTdNBzObHj-ghc8.10.7.so
- /usr/share/licenses/ghc-generic-deriving
- /usr/share/licenses/ghc-generic-deriving/LICENSE
Field source: openSUSE Leap 15.6 OSS
