on master help sign in
Move the stream types at the end of the module

This is a long section but a bit of distraction. It's perhaps better to have more important sections at the beginning.

commit6d78fdede8fee0c0ef87b4483833d38af378e70f authorHarendra Kumar <harendra@composewell.com> dateFri 2 Apr 2021, 13:26 (6 years ago) parent5b2619d
1 file changed+52−52
src/Streamly/Prelude.hs+52−52
src/Streamly/Prelude.hs+52−52
@@ -319,57 +319,6 @@
319319
320320module Streamly.Prelude
321321 (
322− -- * Stream Types
323− -- | Stream types that end with a @T@ (e.g. 'SerialT') are monad
324− -- transformers.
325−
326− -- ** Serial Streams
327− -- $serial
328− SerialT
329− , WSerialT
330−
331− -- ** Speculative Streams
332− -- $ahead
333− , AheadT
334−
335− -- ** Asynchronous Streams
336− -- $async
337− , AsyncT
338− , WAsyncT
339− , ParallelT
340−
341− -- ** Zipping Streams
342− -- $zipping
343− , ZipSerialM
344− , ZipAsyncM
345−
346− -- * IO Streams
347− , Serial
348− , WSerial
349− , Ahead
350− , Async
351− , WAsync
352− , Parallel
353− , ZipSerial
354− , ZipAsync
355−
356− -- * Type Synonyms
357− , MonadAsync
358−
359− -- * Stream Type Adapters
360− -- $adapters
361− , IsStream ()
362−
363− , serially
364− , wSerially
365− , asyncly
366− , aheadly
367− , wAsyncly
368− , parallely
369− , zipSerially
370− , zipAsyncly
371− , adapt
372−
373322 -- * Construction
374323 -- ** Primitives
375324 -- | Primitives to construct a stream from pure values or monadic actions.
@@ -378,7 +327,7 @@ module Streamly.Prelude
378327 -- versions provided in this module can be much more efficient in most
379328 -- cases. Users can create custom combinators using these primitives.
380329
381− , nil
330+ nil
382331 , cons
383332 , (.:)
384333
@@ -921,6 +870,57 @@ module Streamly.Prelude
921870 , maxRate
922871 , constRate
923872
873+ -- * Stream Types
874+ -- | Stream types that end with a @T@ (e.g. 'SerialT') are monad
875+ -- transformers.
876+
877+ -- ** Serial Streams
878+ -- $serial
879+ , SerialT
880+ , WSerialT
881+
882+ -- ** Speculative Streams
883+ -- $ahead
884+ , AheadT
885+
886+ -- ** Asynchronous Streams
887+ -- $async
888+ , AsyncT
889+ , WAsyncT
890+ , ParallelT
891+
892+ -- ** Zipping Streams
893+ -- $zipping
894+ , ZipSerialM
895+ , ZipAsyncM
896+
897+ -- * IO Streams
898+ , Serial
899+ , WSerial
900+ , Ahead
901+ , Async
902+ , WAsync
903+ , Parallel
904+ , ZipSerial
905+ , ZipAsync
906+
907+ -- * Type Synonyms
908+ , MonadAsync
909+
910+ -- * Stream Type Adapters
911+ -- $adapters
912+ , IsStream ()
913+
914+ , serially
915+ , wSerially
916+ , asyncly
917+ , aheadly
918+ , wAsyncly
919+ , parallely
920+ , zipSerially
921+ , zipAsyncly
922+ , adapt
923+
924924 -- * Deprecated
925925 , once
926926 , each