Difference between revisions of "Section of an infix operator"

From HaskellWiki
Jump to navigation Jump to search
(description of the concept)
(No difference)

Revision as of 13:12, 31 May 2007

In Haskell there is a special syntax for partial application on infix operators.

  • (2^) is equivalent to (^) 2
  • (^2) is equivalent to flip (^) 2