-
Notifications
You must be signed in to change notification settings - Fork 62
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
Lens #131
Conversation
, cat, cat', CatOpts(..), CatMethod(..) | ||
, cat, cat' | ||
, CatOpts(..), catMethod, sep | ||
, catOptsvProxy__ -- may not want to export? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, let's not export this. There's no reason to. No one should have been using it before.
OK, I think I've finished looking over all the changes in this pull request. If I didn't comment on something you can assume it's because I thought it looked good. |
-- | Style to apply to the head. @headStyle@ is modified by using the lens | ||
-- combinator @%~@ to change the current style. For example, to change | ||
-- an opaque black arrowhead to translucent orange: | ||
-- @(with & fc orange . opacity 0.75)@. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment needs to be fixed, should say with & headStyle %~ fc orange . opacity 0.75
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops~
For backwards compatibility---it's something users could reasonably have been using, and it has a nice name that's unlikely to clash with anything else we want to do. Power users who want the iso can use the new Wrapped instance.
The reason for removing the catOptsProxy was that the new CatOpts lenses have restricted types, so we don't run into the problems with type inference that you get when doing record updates. However, for this release at least, we want to offer users the upgrade path of simply sticking underscores on their record labels and continuing to do record updates, so we still need the proxy, otherwise users' code will break. This reverts commit caf79c8.
See @f4285ce for an explanation.
No description provided.