casualjavascript/haskell-in-es6

f.comp passes extra arguments inconsistently

Closed this issue · 0 comments

FullR commented

If you run the result of f.comp with more than one argument, the additional arguments will be passed into the transform functions in different ways depending on where the function exists in the arguments list (first, middle, end).
Here is a codepen that demonstrates the issue and includes a fixed implementation.