category-extras-0.1: Various modules and constructs inspired by category theory.Source codeContentsIndex
Data.Stream
Documentation
data Stream a Source
show/hide Instances
mkStream :: b -> (b -> a) -> (b -> b) -> Stream aSource
head :: Stream a -> aSource
tail :: Stream a -> Stream aSource
cons :: a -> Stream a -> Stream aSource
elemAt :: Integral i => i -> Stream a -> aSource
toSeq :: Stream a -> Int -> aSource
toList :: Stream a -> [a]Source
mapStreamSt :: (a -> s -> b) -> (a -> s -> s) -> s -> Stream a -> Stream bSource
fibs :: Stream IntegerSource
Produced by Haddock version 2.3.0