|
Data.Array.Parallel.Stream | Portability | non-portable (existentials) | Stability | internal | Maintainer | Roman Leshchinskiy <rl@cse.unsw.edu.au> |
|
|
|
Description |
This module defined the interface to the stream library used for loop
fusion.
|
|
Synopsis |
|
|
|
Documentation |
|
|
Constructors | | Instances | |
|
|
|
|
|
|
Empty stream
|
|
|
Singleton stream
|
|
|
Construction
|
|
|
Replication
|
|
|
Given a stream of (length,value) pairs and the sum of the lengths,
replicate each value to the given length.
|
|
|
Concatenation
|
|
|
Associate each element in the Stream with its index
|
|
|
Yield the tail of a stream
|
|
|
Yield an enumerated stream
|
|
|
Yield an enumerated stream using a specific step
|
|
|
|
|
enumFromToEachS [k1 :*: m1, ..., kn :*: mn] = [k1,...,m1,...,kn,...,mn] |
|
|
Convert a list to a Stream
|
|
|
Generate a list from a Stream
|
|
|
Mapping
|
|
|
Filtering
|
|
|
Folding
|
|
|
Yield NothingS if the Stream is empty and fold it otherwise.
|
|
|
Scanning
|
|
|
Scan over a non-empty Stream
|
|
|
|
|
Zipping
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Produced by Haddock version 2.4.2 |