purescript-unfoldable
purescript-unfoldable copied to clipboard
Unfoldable functors
If this instance was implemented via `ST`, then `purescript-backend-optimizer` would inline things when possible. However, it seems that we can't currently do this because `arrays` depends on `nonempty`, which depends...
The documentation states that `unfoldr f b should consist of a appended to the result of unfoldr f b1`. Should it not read "prepended" instead?
This library would greatly benefit from a guide that describes how to use `unfoldr`. The [current explanation](https://pursuit.purescript.org/packages/purescript-unfoldable/4.0.2/docs/Data.Unfoldable#t:Unfoldable) is pretty terse. I was initially led here from [Data.Map.Internal.toUnfoldable](https://github.com/purescript/purescript-ordered-collections/blob/54af8b281bf01acfc14e147debec76974901e93c/src/Data/Map/Internal.purs#L574-L586), which was pretty...
In Progress **Description of the change** Fixes #31 Adding some more description and examples --- **Checklist:** - [ ] Added the change to the changelog's "Unreleased" section with a reference...