length :: c el -> Int |
Length of currently available data.
|
|
null :: c el -> Bool |
Test if the current stream is null.
|
|
cons :: el -> c el -> c el |
Prepend an element to the front of the data.
|
|
head :: c el -> el |
Return the first element of the stream.
|
|
tail :: c el -> c el |
Return the tail of the stream.
|
|
findIndex :: (el -> Bool) -> c el -> Maybe Int |
First index matching the predicate.
|
|
splitAt :: Int -> c el -> (c el, c el) |
Split the data at the specified index.
|
|
dropWhile :: (el -> Bool) -> c el -> c el |
Drop data matching the predicate.
|
|
fromList :: [el] -> c el |
Create a stream from a list.
|
|
toList :: c el -> [el] |
Create a list from the stream.
|
|
cMap :: StreamChunk c el' => (el -> el') -> c el -> c el' |
Map a computation over the stream.
|