-
Notifications
You must be signed in to change notification settings - Fork 43
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
Port to linear #70
Port to linear #70
Conversation
lens >= 4.0 && < 4.4, | ||
linear, | ||
adjunctions, | ||
distributive |
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.
We should add some version bounds for these new dependencies.
Thanks for all the comments. Most of the fixes where simple but my function comments might need looking over. I think the old |
Put another way, |
I think the right thing to do is to drop the bogus |
I agree, having bogus instances around just to support some syntax sugar doesn't sound like a good bargain. |
I think it is import to make sure we remove any superfluous uses of |
I don't like the bogus instance but I do want
It looks like it can do everything the old |
@cchalmers Can you explain how you would use the I think your proposed representation is missing the conversion from (pre-scaled) I'm hoping @jeffreyrosenbluth has thoughts on this design, since I don't use the power of |
@cchalmers Honestly I really don't see the benefit of having |
@bergey I guess it comes down to future uses of @jeffreyrosenbluth I don't feel it's that "complex". I've made some changes: http://lpaste.net/110692 maybe this is better? There's not much difference to the user and less code. For me this representation matches my intuition for what a measure is -- a number that depends of scales that it doesn't have yet. And it's a lot more versatile (you can even write things like For now I'll ditch |
Yes, that's starting to look good to me. I don't know why I thought the On Mon, Sep 8, 2014 at 4:56 PM, Chris [email protected] wrote:
|
I think delaying this until there are more examples of how it could be used is a good plan. @cchalmers, thank you for being flexible. In particular, I think the Measure code has been a substantial source of bugs in the past, so I expect more testing would be needed than for most similar-sized changes. I'd rather not do that just for the I agree with @jeffreyrosenbluth that the second version is more elegant, and has a more intuitive |
Added functions
fromOrthogonal
andfromSymmetric
,eye
andscaleFromTransform
toDiagrams.Core.Transform
.