Comments (7)
Yes, I think we should re-export these from Control.Lens.Operators
as well.
(<<>:~)
appears misdocumented in the changelog: it is actually left-side<>
and-return-result
Sorry about that! I wrote the CHANGELOG
after #1058 had landed, so any errors in the CHANGELOG
are purely my fault. @ncaq, would you be willing to double-check what I wrote and fix any inaccuracies?
Should these lenses also have
<<
variants which return the old value?
Thoughts, @ncaq?
from lens.
I think it is a good policy to export.
from lens.
OK. Regarding the CHANGELOG
mistake, I think I was confused by the Haddocks for (<<>:~)
:
Lines 1195 to 1201 in 1ce86ea
The Haddocks talk about appending an element to the end, but the implementation prepends to the front instead. As such, I think we need to correct both the Haddocks and the CHANGELOG
.
from lens.
I've submitted a fix in #1068.
from lens.
I copied and pasted the basic part thinking it was basically the same and unlike it, prepend to the head side...
I should have checked the basic part properly.
I made a mistake because I am not good at English.
Thank you for your time and effort.
from lens.
No problem at all, @ncaq. Thank you for your contribution!
from lens.
Thank you for your time and effort.
And thank you for yours.
from lens.
Related Issues (20)
- Add `toAlternativeOf`? HOT 7
- Declare Fields with Nested Records of types defined in same Splice HOT 1
- Replace the creately diagram
- HLint fails in master HOT 2
- cloneGetter HOT 2
- Improving documentation HOT 11
- Deprecate 'lifted'? HOT 1
- Build failure with `template-haskell-2.21` (GHC 9.8) HOT 2
- trying to understand some accesssor stuff HOT 2
- Censor & listen
- Separate Each into own package HOT 3
- Order dependence for `makeFields` HOT 10
- Improve `rewriteM` docs
- Skillsmatter video is not online anymore? HOT 9
- Wiki Derivation: Make example types more consistent HOT 2
- Application of `view` to a lens does not always type check. HOT 4
- Document that application of `view` to a term of type `Lens` does not always type check.
- Where is the `Iso' Text String`? HOT 5
- `is` should not require a prism — a fold should be fine. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lens.