@RonJeffries @kragen @marick (->) means function, all functions unary. So how two arguments?
Two functions!
-
-
Replying to @bitemyapp
@RonJeffries@kragen@marick without currying, one function - many arguments. With currying, many functions, one argument apiece!2 replies 1 retweet 2 likes -
Replying to @bitemyapp
@bitemyapp i know what it IS. i'm interested in good things it is FOR.@kragen@marick5 replies 0 retweets 0 likes -
Replying to @RonJeffries
@RonJeffries@kragen@marick oh my, all kinds of things. It simply cleans up your code such that you can expressly only what matters.1 reply 0 retweets 0 likes -
Replying to @bitemyapp
@RonJeffries@kragen@marick it's like asking what names for variables or functions are good for.3 replies 0 retweets 0 likes -
Replying to @bitemyapp
@RonJeffries@kragen@marick Trivial example: sum xs = foldl (+) 0 xs vs. sum = foldl (+) 03 replies 0 retweets 0 likes -
Replying to @bitemyapp
@bitemyapp i don't need a trivial example. i know what it DOES. a function adding 6 isn't really interesting.@kragen@marick3 replies 0 retweets 0 likes -
Replying to @RonJeffries
@RonJeffries@bitemyapp@kragen@marick Consider that in OO, all methods are just curried functions with `self` being captured.3 replies 0 retweets 0 likes -
Replying to @sgrif
@sgrif@RonJeffries@kragen@marick I can't think of any OO languages with curried methods.2 replies 0 retweets 0 likes -
Replying to @bitemyapp
@sgrif@RonJeffries@kragen@marick is there 1 you're thinking of or you mean generally? If the latter, I don't think you mean curried.2 replies 0 retweets 0 likes
@bitemyapp I do mean curried. Objects are just bundles of curried functions. At absolute minimum `self` is essentially curroed
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.