curry submitted to CRAN. (tail) currying and partial application using %<%, %-<%, and %><% respectively https://github.com/thomasp85/curry #rstats
-
-
Replying to @thomasp85
what about changing defaults of functions? Useful sometimes.
1 reply 0 retweets 0 likes -
Replying to @KirkegaardEmil
slightly out of scope but I might add it since it is dead simple
1 reply 0 retweets 0 likes -
Replying to @thomasp85
E.g. change na.rm default to T, but make it changeable.
1 reply 0 retweets 0 likes -
-
Replying to @timelyportfolio @KirkegaardEmil
well there is a tail currying example that simply fixes it to FALSE
2 replies 0 retweets 1 like -
Replying to @thomasp85 @timelyportfolio
Sure, but while I never ever want to manually set stringsasfactors to T, I sometimes want to overwrite na.rm=T
1 reply 0 retweets 1 like -
Replying to @KirkegaardEmil @timelyportfolio
Only on the GitHub versionpic.twitter.com/L1NU2FLumE
1 reply 0 retweets 1 like
Replying to @thomasp85 @timelyportfolio
looks good. I'll see if I can think of some good use case examples.
5:40 PM - 28 Sep 2016
0 replies
0 retweets
0 likes
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.