If Functor gives _map_ `(a -> b) -> F a -> F b`, then Applicative Functor gives us _functorial map_ `F (a -> b) -> F a -> F b`. #haskell
-
-
Replying to @athan__
@ElAthanator Functor: a -> b Contravariant: b -> a Exponential: (a -> b,b -> a) Applicative: f (a -> b) Monad: a -> f b Comonad: f a -> b
2 replies 32 retweets 68 likes -
Replying to @dibblego
@dibblego Don't forget the ubiquitous cofunctor https://hackage.haskell.org/package/acme-cofunctor …2 replies 0 retweets 2 likes -
Replying to @jaspervdj
@dibblego No it's not. Contravariant functors are `(a -> b) -> (f b -> f a)`. My package provides the true cofunctors.1 reply 0 retweets 1 like -
Replying to @jaspervdj
@jaspervdj Contravariant is also (b -> a) -> f a -> f b.1 reply 0 retweets 0 likes -
Replying to @dibblego
@dibblego Yes, is what I said. This is different from cofunctors, though. Also note which category my package is in.#typetheoryjokes1 reply 0 retweets 1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.