lensref: References which can be joined and on which lenses can be applied
The lensref package provides and interface an two implementation for references which can be joined and on which lenses can be applied.
The pure implementation is slow and has memory leaks but probably easier to follow. This is the reference implementation, so if the the other implementation differs this has the right behaviour.
The fast implementation is intended for real usage.
Status:
The interface is getting stable. You can expect more functionality and minor changes on current functionality.
There are test cases for the first half of the interface. Both implementations fulfil the test cases.
The pure implementation is ready.
The fast implementation is much faster than the pure implementation, but it is far from being as fast as possible. Probably it also leaks memory.
To see what is possible to do with lens references, look at the test cases in Data.LensRef.Test
For more information visit the following links:
Modules
[Index]
- Data
- Data.LensRef
- Data.LensRef.Common
- Data.LensRef.Fast
- Data.LensRef.Pure
- Data.LensRef.Test
- Data.LensRef.TestEnv
- Data.LensRef
Flags
Automatic Flags
Name | Description | Default |
---|---|---|
tests | Build the tests | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- lensref-0.2.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.1, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.0.4, 0.1.0.5, 0.2 |
---|---|
Change log | changelog |
Dependencies | base (<5), containers (<0.6), lens (<4.2), monad-control (<0.4), mtl (<2.3), operational (<0.3), transformers (>=0.3 && <0.5) [details] |
License | BSD-3-Clause |
Author | Péter Diviánszky |
Maintainer | divipp@gmail.com |
Category | Control, Data |
Home page | http://www.haskell.org/haskellwiki/LGtk |
Bug tracker | https://github.com/divipp/lensref/issues |
Source repo | head: git clone https://github.com/divipp/lensref.git |
Uploaded | by PeterDivianszky at 2014-05-18T20:26:22Z |
Distributions | |
Reverse Dependencies | 2 direct, 0 indirect [details] |
Downloads | 5069 total (24 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user [build log] All reported builds failed [all 1 reports] |