Module

Data.Eulalie.Stream

Package
purescript-eulalie
Repository
bodil/purescript-eulalie

#Stream Source

newtype Stream a

Constructors

Instances

#stream Source

stream :: forall a. Array a -> Stream a

#get Source

get :: forall a. Stream a -> Maybe a

#atEnd Source

atEnd :: forall a. Stream a -> Boolean

#next Source

next :: forall a. Stream a -> Maybe (Stream a)

#getAndNext Source

getAndNext :: forall a. Stream a -> Maybe { next :: Stream a, value :: a }