2-- Module : Streamly.Data.StreamK
3-- Copyright : (c) 2017 Composewell Technologies
6-- Maintainer : streamly@composewell.com
10-- Streams using Continuation Passing Style (CPS). See notes in "Data.Stream"
11-- module to know when to use this module.
13-- primitive/open loop operations that can be used recursively e.g. uncons,
14-- foldBreak, parseBreak should not be converted from StreamD for use in
15-- StreamK, instead native StreamK impl should be used.
17-- Closed loop operations like repeat, replicate, iterate etc can be converted
20-- In the last phase any operation like (toStreamK . f . toStreamD) should be
21-- rewritten to a K version of f.
22-- XXX Need to add rewrite rules for all missing StreamD operations.
24module Streamly.Data.StreamK
59 -- * Combining Two Streams
75 -- XXX is "bind/concatFor" better to have than crossWith?
76 -- crossWith f xs1 xs2 = concatFor xs1 (\x -> fmap (f x) xs2)
80 -- , CrossStreamK (..)
82 -- * Stream of streams
88 -- * Buffered Operations
94import Streamly.Internal.Data.Stream.StreamK
95import Prelude hiding (reverse, zipWith)
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list