-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export more of MicroLens: (.~), (%~), others? #123
Comments
I'd lean towards a RIO.Lens module, and being very conservative about adding operators or functions the RIO. |
I've been leaning that way myself. So the remaining question is, what to re-export and from where? Initial thoughts:
I'm not sure about |
I don't think I can weigh in that effectively here, I'm not that familiar with what is commonly used in lens-heavy projects. I still tend to stick to a relatively small subset of lens functionality in my code. |
I'm starting to lean in the same direction, to the point that I was lately annoyed to find no prefix synonym for |
Discussion. Considering that
set
andover
are exported, I assume(.~)
and(%~)
were omitted to minimize operator soup in RIO, for newbie-friendliness and/or best practice assertion. But critiques aside, there are quite a few important libraries that provide a lens-based configuration API (e.g.http-client
), and their examples tend to lean heavily on(.~)
. And if that's provided, it seems silly not to toss in(%~)
.So:
RIO.Lens
with a more complete set of re-exports? Which ones?The text was updated successfully, but these errors were encountered: