API for Traversals/Folds
serras opened this issue ยท 2 comments
serras commented
Once you have a fold, yout can access everything as it was a list/array. We should think about which functions to implement there.
Maybe we can base ourselves in Ramda? (look for List
in the docs)
serras commented
My proposal is to provide the following two functions: reduce
and toArray
. Also, to keep the usual Fold
name, instead of my previous Reducer
proposal.
@kutyel what do you think? if you agree, I can implement these during the day.
github-actions commented
๐ This issue has been resolved in version 1.2.0 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐