| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Data.Stream
Documentation
class Ord (Pos s) => Stream s where Source #
Associated Types
Methods
next :: s -> Maybe (Item s, s) Source #
nextWhile :: (Item s -> Bool) -> s -> (Chunk s, s) Source #
nextN :: Int -> s -> (Chunk s, s) Source #
makeChunk :: Proxy s -> [Item s] -> Chunk s Source #
Instances
| Stream StringLines Source # | |
Defined in Data.Stream.StringLines Associated Types type Item StringLines Source # type Chunk StringLines Source # type Pos StringLines Source # Methods next :: StringLines -> Maybe (Item StringLines, StringLines) Source # nextWhile :: (Item StringLines -> Bool) -> StringLines -> (Chunk StringLines, StringLines) Source # nextN :: Int -> StringLines -> (Chunk StringLines, StringLines) Source # makeChunk :: Proxy StringLines -> [Item StringLines] -> Chunk StringLines Source # unmakeChunk :: Proxy StringLines -> Chunk StringLines -> [Item StringLines] Source # getPos :: StringLines -> Pos StringLines Source # | |