# What is (->) in Haskell?

If you type :i (->) in GHCi and hit Enter it returns the following: data (->) t1 t2 — Defined in ‘GHC.Prim’ infixr 0 `(->)` instance Monad ((->) r) – Defined in ‘GHC.Base’ instance Functor ((->) r) – Defined in ‘GHC.Base’ instance Applicative ((->) a) – Defined in ‘GHC.Base’ instance Monoid b => Monoid (a -> b) – Defined… Read More What is (->) in Haskell?