Closed syves closed 5 years ago
I've addressed the above changes, but for some reason doctest is not running.
20 error code ELIFECYCLE 21 error errno 1 22 error sanctuary@1.0.0 doctest:
sanctuary-doctest
22 error Exit status 1 23 error Failed at the sanctuary@1.0.0 doctest script.
Let's complete this pull request together. I will push some commits to your branch. :)
I just added fast paths for arrays, so these functions will continue to operate efficiently on arrays. @syves, if you're happy with these changes please squash the commits in preparation for merging. :)
Thank you, @syves!
Closes #570
Initial attempt to generalize head, tail, last and init functions for Foldables.