[vector] #87: Add a varient of unfoldrN
vector
vector at projects.haskell.org
Fri Nov 30 05:07:14 GMT 2012
#87: Add a varient of unfoldrN
------------------------+---------------------------------------------------
Reporter: tommd | Owner:
Type: enhancement | Status: new
Priority: major | Milestone:
Version: | Keywords:
------------------------+---------------------------------------------------
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).
--
Ticket URL: <http://trac.haskell.org/vector/ticket/87>
vector <http://trac.haskell.org/vector>
Package vector
More information about the vector
mailing list