functor-apply-0.9.1: Strong lax semimonoidal endofunctors (Applicative sans pure)

Portabilityportable
Stabilityprovisional
MaintainerEdward Kmett <ekmett@gmail.com>

Data.Functor.Alt

Description

 

Synopsis

Documentation

class Apply f => Alt f whereSource

Laws:

 <!> is associative:             (a <!> b) <!> c = a <!> (b <!> c)
 <.> right-distributes over <!>: (a <!> b) <.> c = (a <.> c) <!> (b <.> c)
 <$> left-distributes over <!>:  f <$> (a <!> b) = (f <$> a) <!> (f <$> b)

Methods

(<!>) :: f a -> f a -> f aSource