We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5bec00e + be6653c commit 4872aa5Copy full SHA for 4872aa5
1 file changed
src/Streaming/Prelude.hs
@@ -2064,7 +2064,7 @@ toList_ = fold_ (\diff a ls -> diff (a: ls)) id (\diff -> diff [])
2064
2065
{-| Convert an effectful 'Stream' into a list alongside the return value
2066
2067
-> mapped toList :: Stream (Stream (Of a)) m r -> Stream (Of [a]) m
+> mapped toList :: Stream (Stream (Of a) m) m r -> Stream (Of [a]) m r
2068
2069
Like 'toList_', 'toList' breaks streaming; unlike 'toList_' it /preserves the return value/
2070
and thus is frequently useful with e.g. 'mapped'
0 commit comments