| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Control.Type.Operator
Description
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 ^> Stringf :: Maybe (Int -> Int)
type ($) f a = f a infixr 2 Source
Infix application.
>>>f :: Either String $ Maybe Intf :: Either String (Maybe Int)