Milhouse

Results 14 comments of Milhouse

@tonini ping. Have something changed in this regard? If yes I would like to attack this issue

Looks like it is *possible* to solve this issue now :) I will try to take a look at this sometime in the near future. Thanks for the finding @chrismcg...

Hi, Any interest in adding currying ? I have scratched the idea for a blog post, maybe I could help ; ) Thanks.

Ow, the post is still a /core-dump/ of ideas. I will probably finish it this week. My English is pretty poor so I tend to keep the posts way too...

I was surprised to learn just now that [Proc#curry](http://docs.ruby-lang.org/en/2.1.0/Proc.html#method-i-curry) actually exists! We could return a curryied version of a method with something like ``` ruby def as_curry(name) method(name).to_proc.curry end ```...

The behavior is also kinda weird. ``` ruby add = (->(x,y) {x+y}).curry add.().().().().(1).().(2) # => 3 ``` For better or worse, ruby never ceases to amaze me.

`pre` and `post` update hooks are probably straightforward to implement. Do you think those would be enough for your use case ?

Alright. I will leave this open in the case someone finds the same need.

Ok, I will the `before-update` and `after-update` hooks when I find some time ;)

Alright, done in 2e91e78a and 1c33c04. @thomasf @andschwa Could you guys check if these are enough ? Thanks !