Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
functor_._haskell [2014/09/15 19:22] nikolaj |
functor_._haskell [2014/09/17 05:10] ben |
||
---|---|---|---|
Line 8: | Line 8: | ||
-- methods | -- methods | ||
(<$) :: a -> f b -> f a | (<$) :: a -> f b -> f a | ||
- | (<$) :: fmap . const | + | (<$) = fmap . const |
</code> | </code> | ||
Line 20: | Line 20: | ||
==== Parents ==== | ==== Parents ==== | ||
=== Related === | === Related === | ||
- | [[Haskell]], [[Haskell type system]], [[Functor]], [[Functor category]] | + | [[Haskell]], [[Functor]], [[Functor category]] |