The fclabels package
First class labels that act as bidirectional records fields. The labels are fully composable and can be used to get, set and modify part of datatypes in a consistent way. The label datatype, conveniently called `:->', is an instance of the Category type class, so is has a proper identity and composition. The library has support for automatically deriving labels from record selectors that start with an underscore.
Properties
| Versions | 0.1, 0.1.2, 0.2.0, 0.3.0, 0.4.0, 0.4.1, 0.4.2, 0.4.2.1, 0.9.0, 0.9.1, 0.11.0, 0.11.1, 0.11.1.1, 0.11.2, 1.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.1.0, 1.1.0.1, 1.1.0.2 |
|---|---|
| Dependencies | base (≥3 & <5), monads-fd (0.0.*), template-haskell (≥2.2 & <2.4) |
| License | BSD3 |
| Author | Sebastiaan Visser, Erik Hesselink |
| Maintainer | Sebastiaan Visser <sfvisser@cs.uu.nl> |
| Category | Data |
| Upload date | Sun Aug 30 13:55:38 UTC 2009 |
| Uploaded by | SebastiaanVisser |
| Built on | ghc-6.10 |
| Build failure | ghc-6.12 (log) |
| Distributions | NixOS: 1.1.0.2 |
Modules
- Data
- Record
Downloads
- fclabels-0.3.0.tar.gz (Cabal source package)
- package description (included in the package)