Add partial applicative typeclass functions#2545
Conversation
cd095db to
9158361
Compare
|
This makes sense to me. Can we also get Edit: What does bother me a little bit is that we use both |
|
The commit details for the first commit say:
Note the stray space between And a bit nitpicky, the commit summary goes over the 50-char limit of the 50/72 rule. I didn't count the characters, I noticed the GitHub website UI cut off the summary: 24d7979 [edit] [edit 2] |
Yes, though I feel the |
|
Yeah, I guess my comment wasn't really directed at this PR. I was merely pointing out the fact that |
|
I agree in principle, but the whole problem with these comic book swear words is that even if you think of a rigorous structure and apply it, it will always feel random without a full explanation of why |
|
We could just call them x `bitShiftInR` y |
d98ad49 to
433b2a7
Compare
433b2a7 to
3a2398c
Compare
martijnbastiaan
left a comment
There was a problem hiding this comment.
LGTM modulo missing exports and a CI breakage :)
3a2398c to
c0dc122
Compare
We already have the `.foo.` pattern for these typeclasses. After this change, you can use `.foo bar` instead when `bar` is a constant.
c0dc122 to
c4c50a9
Compare
We currently have functions like
.==.that can operate onSignals. However, I find myself often writing.foo. pure barwhen comparing signals to constants.With these changes(inspired by @gergoerdi's retrocomputing lib) we can write
.foo barinstead.Still TODO: