on df93350 help sign in
streamly/src/Streamly/Internal.hs
110 lines 2.5 kB history raw
1-- |
2-- Module : Streamly.Internal
3-- Copyright : (c) 2018 Harendra Kumar
4--
5-- License : BSD3
6-- Maintainer : harendra.kumar@gmail.com
7-- Stability : experimental
8-- Portability : GHC
9--
10-- This module is only for internal or experimental APIs. The constructors and
11-- routines exposed through this module are likely to change or to be removed
12-- at any time in future without notice. There is no warranty for the routines
13-- in this module to work correctly, please use at your own risk.
14--
15-- If you think some of the routines exported through this module should be
16-- included in the officially supported modules please raise an issue at
17-- https://github.com/composewell/streamly/issues .
18--
19module Streamly.Internal
20 (
21 -- * Diagnostics
22 inspectMode
24 -- * Streamly.Prelude Experimental Exports
25 , foldrS
26 , foldrT
27 , prescanl'
28 , prescanlM'
30 , toListRev
31 , toListRevF
32 , toStream
33 , toStreamRev
35 , insertAfterEach
36 , interject
37 , reverse'
39 , splitAt -- spanN
40 , span -- spanWhile
41 , break -- breakBefore
42 , spanBy
43 , spanByRolling
44 , arraysOf
45 , splitOnSeq
46 , splitOnSuffixSeq
47 , splitBySeq
48 , splitWithSuffixSeq
49 , splitInnerBy
50 , splitInnerBySuffix
52 , tapAsync
54 , classifySessionsOf
55 , classifySessionsBy
56 , classifyKeepAliveSessions
58 , append
59 , interleave
60 , interleaveFst
61 , interleaveMin
62 , roundrobin
63 , wSerialFst
64 , wSerialMin
65 , parallelFst
66 , parallelMin
68 , concatMapU
69 , concatUnfoldInterleave
70 , concatUnfoldRoundrobin
71 , intercalateSuffix
73 -- * Streamly.Fold Experimental Exports
74 , Fold (..)
75 , rollingHash
76 , rollingHashWithSalt
77 , lmap
78 , lmapM
79 , lfilter
80 , lfilterM
81 , lcatMaybes
82 , ltake
83 , ltakeWhile
84 , lsessionsOf
85 , lchunksOf
86 , duplicate
87 , initialize
88 , runStep
90 -- * Streamly.Unfold Experimental Exports
91 , Unfold (..)
92 , fromList
94 -- * Streamly.Memory.Array
95 , readU
96 )
97where
99import Prelude hiding (break, span, splitAt)
101import Streamly.Memory.Array.Types (readU)
102import Streamly.Streams.Combinators (inspectMode)
103import Streamly.Streams.Parallel (tapAsync, parallelFst, parallelMin)
104import Streamly.Streams.Serial (wSerialFst, wSerialMin)
105import Streamly.Unfold.Types (Unfold(..))
106import Streamly.Unfold (fromList)
108import Streamly.Fold.Internal
109import Streamly.Fold.Types
110import Streamly.Prelude.Internal hiding (fromList)