
2 May
2016
2 May
'16
6:49 p.m.
Hello, Does anyone know of anything like Data.ByteString.unfoldr, except that it can fail with a return value? Cheers, -John

2 May
2 May
7:34 p.m.
Hi John, what's the exact type you're looking for? Does hoogle give any useful results for it? Cheers, Simon

3 May
3 May
4:29 a.m.
If there is an unfoldM like function then that might do the job, with Maybe
or MaybeT m as your choice of monad.
Ollie
On Mon, 2 May 2016, 11:49 p.m. John Ky,
Hello,
Does anyone know of anything like Data.ByteString.unfoldr, except that it can fail with a return value?
Cheers,
-John _______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
3304
Age (days ago)
3305
Last active (days ago)
2 comments
3 participants
participants (3)
-
John Ky
-
Oliver Charles
-
Simon Jakobi