acturtle / cashflower

An open-source Python framework for actuarial cash flow models
https://cashflower.acturtle.com
MIT License
38 stars 9 forks source link

Use lambda functions instead of partials #363

Closed zchmielewska closed 4 months ago

zchmielewska commented 8 months ago

Check if it's possible to use lambda functions instead of partials for maps.

Example:

result = list(map(lambda x: add(x, constant), numbers))