4 ms·
Sure, that could work, or something like mapM_ :: (ByteString -> m a) -> ByteStream m b -> m b And then you just have writeStreamToStdout = mapM_ writeBytesT
by wyager 5y ago
Sure, that could work, or something like
mapM_ :: (ByteString -> m a) -> ByteStream m b -> m b
And then you just have
writeStreamToStdout = mapM_ writeBytesToStdout