Functional Weave
Code in Python

money.sum@1.0.1

README.md

194 bytes · view raw

# money.sum

The currency argument looks redundant until the list is empty, which is exactly
when `reduce` without an initial value throws in production.

1.0.1 adds tests; behaviour unchanged.