overloaded-records: Overloaded Records based on current GHC proposal.
Implementation of Overloaded Record Fields based on current GHC proposal.
It is built on top of functionality that is included in GHC 8.0.1, but it
works on older GHC versions as well. Most importantly, this library provides
Template Haskell functions for automatic deriving of instancess for
HasField
and ModifyField
type classes. With these instances overloaded
fields can be used directly as getters and lenses.
See README for usage examples.
More about the current status of OverloadedRecordFields language extension can be found on: GHC Wiki: OverloadedRecordFields.
[Skip to Readme]
Modules
[Index]
Flags
Manual Flags
Name | Description | Default |
---|---|---|
pedantic | Pass additional warning flags to GHC. | Disabled |
Automatic Flags
Name | Description | Default |
---|---|---|
force-functor-classes | Force dependency on transformers ==0.5.* when compiled with GHC <8 to define Eq1, Ord1 and Show1 instances for Rec data type. | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- overloaded-records-0.4.2.0.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.1.0.0, 0.2.0.0, 0.3.0.0, 0.4.0.0, 0.4.1.0, 0.4.2.0 (info) |
---|---|
Change log | ChangeLog.md |
Dependencies | base (>=4.7 && <5), data-default-class (>=0.0 && <0.2), template-haskell (>=2.9 && <2.12), transformers (>=0.5 && <0.6) [details] |
License | BSD-3-Clause |
Copyright | (c) 2016, Peter Trško |
Author | Peter Trško |
Maintainer | peter.trsko@gmail.com |
Revised | Revision 1 made by PeterTrsko at 2016-08-17T10:04:26Z |
Category | Data |
Home page | https://github.com/trskop/overloaded-records |
Bug tracker | https://github.com/trskop/overloaded-records/issues |
Source repo | head: git clone git://github.com/trskop/overloaded-records.git this: git clone git://github.com/trskop/overloaded-records.git(tag 0.4.2.0) |
Uploaded | by PeterTrsko at 2016-08-17T09:54:44Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 4264 total (6 in the last 30 days) |
Rating | 2.0 (votes: 1) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2016-11-21 [all 1 reports] |