-
Notifications
You must be signed in to change notification settings - Fork 70
Expand file tree
/
Copy pathGeneric.hs
More file actions
59 lines (49 loc) · 1011 Bytes
/
Generic.hs
File metadata and controls
59 lines (49 loc) · 1011 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
-- |
-- Module : Streamly.Data.Array.Generic
-- Copyright : (c) 2019 Composewell Technologies
--
-- License : BSD-3-Clause
-- Maintainer : streamly@composewell.com
-- Stability : experimental
-- Portability : GHC
--
-- Unconstrained version of "Streamly.Data.Array" module.
--
-- See the "Streamly.Data.Array" module for documentation.
--
module Streamly.Data.Array.Generic
( Array
-- * Construction
, fromListN
, fromList
-- MonadicAPIs
, createOf
, create
-- * Conversion
, toList
-- * Streams
, read
, readRev
-- * Unfolds
, reader
-- , A.readerRev
-- * Stream of Arrays
, chunksOf
, toParserK
, parse
, parseBreak
, parsePos
, parseBreakPos
-- * Random Access
, length
, getIndex
-- -- * Folding Arrays
-- , A.streamFold
-- , A.fold
-- * Deprecated
, writeN
, write
)
where
import Streamly.Internal.Data.Array.Generic
import Prelude hiding (length, read)