Ticket #87 (new enhancement)
Opened 6 months ago
Add a varient of unfoldrN
|Reported by:||tommd||Owned by:|
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:
- 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).