Skip to content
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

Merged
merged 12 commits into from
Oct 24, 2013
Merged

Lens #131

merged 12 commits into from
Oct 24, 2013

Conversation

jeffreyrosenbluth
Copy link
Member

No description provided.

, cat, cat', CatOpts(..), CatMethod(..)
, cat, cat'
, CatOpts(..), catMethod, sep
, catOptsvProxy__ -- may not want to export?
Copy link
Member

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.

@byorgey
Copy link
Member

byorgey commented Oct 22, 2013

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)@.
Copy link
Member

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.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops~

jeffreyrosenbluth and others added 11 commits October 22, 2013 16:15
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.
@byorgey byorgey merged commit e6b17be into master Oct 24, 2013
@byorgey byorgey deleted the lens branch October 24, 2013 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants