Ecosyste.ms: Funds
An open API service for providing issue and pull request metadata for open source projects.
https://github.com/dreixel/generic-deriving
Last synced: about 2 hours ago
Repository metadata:
- Host: GitHub
- URL: https://github.com/dreixel/generic-deriving
- Owner: dreixel
- License: bsd-3-clause
- Created: 2012-06-06T08:23:22.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2024-09-20T20:48:24.000Z (about 2 months ago)
- Last Synced: 2024-09-20T23:33:04.616Z (about 2 months ago)
- Language: Haskell
- Size: 670 KB
- Stars: 44
- Watchers: 4
- Forks: 32
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Owner metadata:
- Name: José Pedro Magalhães
- Login: dreixel
- Email:
- Kind: user
- Description:
- Website: www.dreixel.net
- Location: Oxford, United Kingdom
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/409604?v=4
- Repositories: 15
- Last Synced at: 2023-04-10T07:45:58.921Z
- Profile URL: https://github.com/dreixel
- Sponsor URL:
Committers metadata
Last synced: about 5 hours ago
Total Commits: 290
Total Committers: 18
Avg Commits per committer: 16.111
Development Distribution Score (DDS): 0.352
Commits in past year: 5
Committers in past year: 3
Avg Commits per committer in past year: 1.667
Development Distribution Score (DDS) in past year: 0.6
Name | Commits | |
---|---|---|
Ryan Scott | r****t@g****m | 188 |
Jose Pedro Magalhaes | j****m@c****k | 61 |
Sean Leather | l****r@c****l | 13 |
Ryan Scott | r****t@g****m | 6 |
RyanGlScott | r****t@k****u | 6 |
Oleg Grenrus | o****s@i****i | 2 |
David Feuer | D****r@g****m | 2 |
Andreas Abel | a****l@i****e | 2 |
David Baynard | d****d | 1 |
Dominic Orchard | d****d@g****m | 1 |
askeblad | 7****d | 1 |
Andres Loeh | m****l@a****e | 1 |
Daniel Gorin | j****a@g****m | 1 |
Daniil Frumin | d****n@g****m | 1 |
Edward Kmett | e****t@g****m | 1 |
Mark Wright | g****h@g****g | 1 |
Simon Jakobi | s****i@g****m | 1 |
amesgen | a****n@a****e | 1 |
Issue and Pull Request metadata
Last synced: about 2 hours ago
Package metadata
- Total packages: 1
-
Total downloads:
- hackage: 145,592 total
- Total dependent packages: 25
- Total dependent repositories: 222
- Total versions: 44
- Total maintainers: 2
hackage: generic-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 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.
- Homepage: https://github.com/dreixel/generic-deriving
- Licenses: BSD-3-Clause
- Latest release: 1.14.5 (published over 1 year ago)
- Last Synced: 2024-11-09T02:03:46.721Z (1 day ago)
- Versions: 44
- Dependent Packages: 25
- Dependent Repositories: 222
- Downloads: 145,592 Total
-
Rankings:
- Downloads: 0.819%
- Dependent packages count: 1.096%
- Dependent repos count: 1.882%
- Average: 4.561%
- Forks count: 6.968%
- Stargazers count: 12.037%
- Maintainers (2)
Dependencies
- hspec-discover * build
- base >=4.9 && <5
- base >=4.3 && <4.9
- containers >=0.1 && <0.7
- ghc-prim ==0.*
- template-haskell >=2.4 && <2.20
- th-abstraction ==0.4.*
- base >=4.3 && <5 test
- generic-deriving * test
- hspec ==2.* test
- template-haskell >=2.4 && <2.20 test
- actions/cache v2 composite
- actions/checkout v2 composite