hinze-streams-1.0: Streams and Unique Fixed Points

Data.Stream.Hinze.Idiom

Synopsis

Documentation

class Idiom f whereSource

A reimplementation of the classic idioms class, which is now known as Applicative.

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

Idiom Stream

Stream are idioms aka applicative functors.