Closed kightlingerh closed 4 years ago
@kightlingerh good catch! Thanks for spotting this, I missed it in the review.
This PR though has a few issues, I've opened #25 instead
0
FR.function
implemented in fp-ts-ramda
in the curried form in tests, in order to catch possible similar issues
I realized in my implementation that the currying would behave unexpectedly if a falsy value was supplied, so I made the condition in the ternary expression explicitly check for the argument to be undefined.