Comments (4)
Having internal classes with Ix prefix sounds fine to me, public ones can stay as-is so that people used to lens naming aren't confused.
from optics.
I'm not sure about this. Morally the classes are the same as the ones in lens
, aren't they? (Although it seems lens
includes optics in the class dictionaries, presumably for performance reasons.) So in some sense our versions are really replacements for the lens
ones and using the same names might make their relationship clearer.
from optics.
A compromise is to have FunctorWithIndex
, FoldableWithIndex
, TraversableWithIndex
, but name profunctors with Ix
prefix.
Or then all *WithIndex
(we have IxProfunctor
now).
from optics.
Resolved via #49.
from optics.
Related Issues (20)
- Release 0.4.1
- Why does getOptic have a Profunctor constraint? HOT 3
- Constraints should be open HOT 6
- Error message for `JoinKinds` could mention m
- Tagging scheme HOT 1
- Build failure in optics-extra-0.4.2 with mtl-2.3 and transformers < 0.6 HOT 8
- Drop ticks in type level constructors HOT 1
- Label optics misbehavior when defined with phantom type HOT 5
- Missing INLINE pragma on castOptic? HOT 27
- Add a function to traverse the contents of a lens HOT 6
- Clarify makeFieldLabels prefix requirements
- over' and iover' pretend to work with incompatible optics
- Strictify traversals?
- Improve type errors
- Support GHC 9.6 HOT 5
- Tests failing on GHC 9.4 on current Hackage release (0.4.2) HOT 3
- Unwrapping newtype should be easier than `coercedTo`. HOT 5
- Document release process
- https://gitlab.haskell.org/ghc/ghc/-/merge_requests/9411 seems to break us HOT 5
- Performance best practices regarding lens vs lensVL and Optics.TH? 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 optics.