app package:haskell-src-exts

Application of expressions by juxtaposition.
ordinary application
Apply a function to a list of arguments.
Tweak any expressions in the element to account for the fixities given. Assumes that all operator expressions are fully left associative chains to begin with.
All AST elements that may include expressions which in turn may need fixity tweaking will be instances of this class.
Apply an operator infix.
A constructor pattern, with argument patterns.
  • GHC § 7.6.3.4 Allow overlapping class instances, provided there is a unique most specific instance for each use.
application to one more type variable
application to one more type
infix application
arrow application (from left): exp -< exp
higher-order arrow application (from left): exp -<< exp
negation expression -exp (unary minus)
data constructor and argument patterns
pattern with an infix data constructor
arrow application (from right): exp >- exp
higher-order arrow application (from right): exp >>- exp
application of a type constructor