parallele tolistM of the pipes module

12 Sep
2019
12 Sep
'19
8:15 a.m.
Hello, I would like to know how to write a parallele version of the pipes function: toListM :: Monad m => Producer a m () -> m [a] toListM = fold step begin done where step x a = x . (a:) begin = id done x = x [] {-# INLINABLE toListM #-} I want to extract all the a from th epipes but concurrently. is it possible ? Cheers Frederic
2126
Age (days ago)
2126
Last active (days ago)
0 comments
1 participants
participants (1)
-
PICCA Frederic-Emmanuel