Internal use of currying is of minimal benefit for compose. It adds unnecessary overhead and completely chokes in the case of optionally-unary functions. This patch removes the automatic internal curry and adds tests for proper handling of unary-like multi-parameter functions and for rest parameter functions.
Internal use of currying is of minimal benefit for compose. It adds unnecessary overhead and completely chokes in the case of optionally-unary functions. This patch removes the automatic internal curry and adds tests for proper handling of unary-like multi-parameter functions and for rest parameter functions.