Ticket #87 (new enhancement)
Opened 6 months ago
Add a varient of unfoldrN
| Reported by: | tommd | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Version: | Keywords: | ||
| Cc: |
Description
I suggest we either add a variant of unfoldrN or make an API-breaking change to the current one. The variant (placeholder name for now) would have a signature:
- unfoldrN'
- Storable a => Int -> (b -> Maybe (a, b)) -> b -> (Vector a,b)
In otherwords, we provide the resulting type b after applying the function N time (or fewer, if it returns Nothing).
Note: See
TracTickets for help on using
tickets.
