Arc Forumnew | comments | leaders | submitlogin
7 points by nex3 4748 days ago | link | parent

The post by raymyers ( gives some very cool examples of the power of bracket-style currying. In addition to cutting down the number of tokens in the common [foo bar _] case of bracket-notation, it allows much nicer wrapping of variadic functions - or just functions for which you want to leave more than one argument open. Compare [* 2] to (fn args (apply * 2 args)), for instance.