overloaded-records: Overloaded Records based on current GHC proposal.
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
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.
This implementation is highly experimental and may change rapidly.
More about the current status of OverloadedRecordFields language extension can be found on: GHC Wiki: OverloadedRecordFields.
[Skip to Readme]
Properties
Versions | 0.1.0.0, 0.2.0.0, 0.3.0.0, 0.4.0.0, 0.4.1.0, 0.4.1.0, 0.4.2.0 |
---|---|
Change log | ChangeLog.md |
Dependencies | base (>=4.7 && <5), data-default-class (>=0.0 && <0.1), template-haskell (>=2.9 && <2.12) [details] |
License | BSD-3-Clause |
Copyright | (c) 2016, Peter Trško |
Author | Peter Trško |
Maintainer | peter.trsko@gmail.com |
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.1.0) |
Uploaded | by PeterTrsko at 2016-04-03T17:17:30Z |
Modules
[Index]
Flags
Manual Flags
Name | Description | Default |
---|---|---|
pedantic | Pass additional warning flags to GHC. | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- overloaded-records-0.4.1.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees