hinze-streams-1.0: Streams and Unique Fixed Points
Data.Stream.Hinze.Idiom
Synopsis
class Idiom f whereSource
A reimplementation of the classic idioms class, which is now known as Applicative.
idioms
Methods
pure :: a -> f aSource
(<>) :: f (a -> b) -> f a -> f bSource
repeat :: a -> f aSource
map :: (a -> b) -> f a -> f bSource
zip :: (a -> b -> c) -> f a -> f b -> f cSource
Instances
Stream are idioms aka applicative functors.