Add a variant unfoldrExactN, returning the resulting generator
Open
help-wanted
- Dominant language
- Haskell
- Stars
- 400
- Forks
- 145
- PR merge metrics
- No merged PRs in 30d
Description
I have a job for
```haskell
unfoldrExactN_ :: Int -> (b -> (a, b)) -> b -> (Vector a, b)
```
but it is surprisingly difficult to emulate: the best I managed to do was put `b` into `State` and use `replicateM`.
How do you feel about extending `vector` with such function?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.