lodash curry does not work on function returned by flow; lodash FP enough for FP?
问题 Is the lodash flow function a real compose function, or is it something that looks like one, but is optimized to run fast and sacrifices the flexibility I'd expect? I expected flow to return a function I could curry, but instead it gave back a function that uses Javascript's arguments keyword. So curry can't tell that there are pending arguments, and it just gets invoked immediately. Working intuitively enough: var add = function(x, y) { return x + y }; var exclam = function(x) { return x