Safe Haskell | None |
---|---|
Language | Haskell2010 |
A collection of type-level operators.
Documentation
type (^>) = (->) infixr 5 Source
A tightly binding version of ->
that lets you strip parentheses from
first-class type-functions. Example:
>>>
f :: Maybe Int ^> String
f :: Maybe (Int -> Int)
type ($) f a = f a infixr 2 Source
Infix application.
>>>
f :: Either String $ Maybe Int
f :: Either String (Maybe Int)