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:
-<http://www.haskell.org/haskellwiki/LGtk haskell.org wiki page>
-<http://lgtk.wordpress.com/ Wordpress blog>
-<https://github.com/divipp/lensref GitHub repository>
-<http://hackage.haskell.org/package/lensref Haddock documentation (this page)>
| version | uploaded | uploader | changes | |
|---|---|---|---|---|
| 0.2 | 2014-05-18 20:26 UTC | PeterDivianszky | +137/−46 lines, 9 filesdep +lensrefdep ~transformersPVP ok | |
| 0.1.0.5 | 2014-05-16 10:10 UTC | PeterDivianszky | +7/−4 lines, 4 filesPVP: minor bump suggested | |
| 0.1.0.4 | 2014-05-16 09:26 UTC | PeterDivianszky | +7/−3 lines, 3 filesPVP ok | |
| 0.1.0.3 | 2014-05-16 05:57 UTC | PeterDivianszky | +15/−7 lines, 2 filesdep ~containersdep ~lensdep ~monad-controlPVP ok | |
| 0.1.0.2 | 2014-05-14 17:36 UTC | PeterDivianszky | +8/−1 lines, 1 filesPVP ok | |
| 0.1.0.1 | 2014-05-14 17:35 UTC | PeterDivianszky | +44/−11 lines, 2 filesPVP: major bump suggested | |
| 0.1 | 2014-05-14 17:30 UTC | PeterDivianszky | +1982/−0 lines, 10 filesdep +basedep +containersdep +lenssetup-changed |
Dependencies of lensref-0.2
base <5 4.22.0.0 → 4.22.1.0
| 2026-12-01 12:38 UTC | 4.22.1.0 | +388/−6 lines, 9 filesdep ~ghc-internalPVP: major bump suggested |
| 2025-12-19 11:52 UTC | 4.22.0.0 | +886/−215 lines, 28 filesdep ~ghc-internalPVP ok |
| 2026-03-27 12:26 UTC | 4.21.2.0 | +10/−3 lines, 4 filesdep ~ghc-internalPVP ok |
| 2025-12-27 10:31 UTC | 4.21.1.0 | +17/−5 lines, 4 filesdep ~ghc-internalPVP ok |
| 2024-12-16 09:24 UTC | 4.21.0.0 | +1170/−396 lines, 39 filesdep ~ghc-internalPVP ok |
showing 5 of 61 versions
containers <0.6 0.5.11.0 → 0.8.1 newer than bounds
| 2026-10-04 06:08 UTC | 0.8.1 newer than bounds | +8085/−5169 lines, 39 filesdep +template-haskell-liftdep ~arraydep ~deepseqPVP: major bump suggested |
| 2025-03-01 13:03 UTC | 0.8 newer than bounds | +8447/−7031 lines, 37 filesnew-uploaderPVP ok |
| 2023-09-27 12:15 UTC | 0.7 newer than bounds | +76/−33 lines, 3 filesPVP ok |
| 2023-09-28 04:21 UTC | 0.6.8 newer than bounds | +644/−184 lines, 17 filesdep ~basedep ~deepseqPVP: major bump suggested |
| 2023-02-01 03:11 UTC | 0.6.7 newer than bounds | +783/−229 lines, 20 filesPVP: major bump suggested |
showing 5 of 43 versions
lens <4.2 4.1.2.1 → 5.3.6 newer than bounds
| 2026-01-10 22:05 UTC | 5.3.6 newer than bounds | +39/−28 lines, 7 filesdep −ghc-primdep −transformers-compatdep ~template-haskellPVP ok |
| 2025-06-17 11:56 UTC | 5.3.5 newer than bounds | +99/−99 lines, 5 filesdep +tastydep +tasty-hunitdep +tasty-quickcheckdep −HUnitdep −test-frameworkdep −test-framework-hunitdep ~parallelPVP: major bump suggested |
| 2025-03-03 12:24 UTC | 5.3.4 newer than bounds | +156/−44 lines, 14 filesdep ~containersPVP ok |
| 2024-12-28 16:38 UTC | 5.3.3 newer than bounds | +198/−36 lines, 11 filesdep ~basedep ~template-haskellPVP ok |
| 2024-05-12 23:00 UTC | 5.3.2 newer than bounds | +131/−19 lines, 7 filesdep ~hashablePVP: major bump suggested |
showing 5 of 162 versions
monad-control <0.4 0.3.3.1 → 1.0.3.1 newer than bounds
| 2021-08-02 10:16 UTC | 1.0.3.1 newer than bounds | +25/−13 lines, 3 filesdep ~transformersPVP ok |
| 2021-07-26 20:03 UTC | 1.0.3 newer than bounds | +6/−2 lines, 2 filesdep ~base |
| 2021-07-26 19:56 UTC | 1.0.2.4 newer than bounds | +912/−894 lines, 5 filesdep ~basedep ~transformers-compatsetup-changednew-uploader |
| 2018-02-26 08:14 UTC | 1.0.2.3 newer than bounds | +10/−3 lines, 3 filesdep ~transformers-compatPVP: major bump suggested |
| 2017-08-06 15:12 UTC | 1.0.2.2 newer than bounds | +201/−29 lines, 4 filesPVP ok |
showing 5 of 32 versions
mtl <2.3 2.2.2 → 2.3.2 newer than bounds
| 2025-12-08 04:58 UTC | 2.3.2 newer than bounds | +112/−21 lines, 12 filesdep ~basenew-uploaderPVP: major bump suggested |
| 2022-10-31 21:28 UTC | 2.3.1 newer than bounds | +188/−33 lines, 8 filesdep ~basePVP: major bump suggested |
| 2022-05-07 20:34 UTC | 2.3 newer than bounds | +1284/−520 lines, 29 filesdep ~basedep ~transformersnew-uploaderPVP ok |
| 2018-02-24 22:15 UTC | 2.2.2 | +152/−36 lines, 14 filesdep ~basePVP: major bump suggested |
| 2014-06-02 02:22 UTC | 2.2.1 | +179/−4 lines, 8 filesdep ~basedep ~transformersPVP: major bump suggested |
showing 5 of 20 versions
operational <0.3 0.2.4.1 → 0.2.4.2
| 2023-02-19 11:05 UTC | 0.2.4.2 | +17/−6 lines, 3 filesdep +transformersdep ~mtlPVP ok |
| 2021-11-07 12:13 UTC | 0.2.4.1 | +6/−2 lines, 2 filesPVP ok |
| 2021-09-29 21:38 UTC | 0.2.4.0 | +79/−20 lines, 4 filesdep ~basePVP: major bump suggested |
| 2016-11-21 16:57 UTC | 0.2.3.5 | +41/−16 lines, 2 filesdep +operationaldep ~basedep ~mtlPVP ok |
| 2016-10-18 21:01 UTC | 0.2.3.4 | +3/−3 lines, 1 filesdep ~basedep ~mtlPVP ok |
showing 5 of 18 versions
transformers >=0.3 && <0.5 0.4.3.0 → 0.6.3.0 newer than bounds
| 2026-01-12 12:42 UTC | 0.6.3.0 newer than bounds | +28/−1 lines, 4 filesPVP: major bump suggested |
| 2025-04-06 22:39 UTC | 0.6.2.0 newer than bounds | +41/−42 lines, 8 filesdep ~ghc-primPVP: major bump suggested |
| 2024-09-25 11:37 UTC | 0.6.1.2 newer than bounds | +70/−21 lines, 19 filesPVP: minor bump suggested |
| 2023-08-01 19:13 UTC | 0.6.1.1 newer than bounds | +281/−42 lines, 11 filesPVP ok |
| 2023-02-04 08:15 UTC | 0.6.1.0 newer than bounds | +64/−4 lines, 8 filesPVP ok |
showing 5 of 42 versions
Reverse dependencies
1 packages depend on lensref