Skip main navigation

Dollars in Haskell

Haskell provides mechanisms to control the order of evaluation in functional expressions. This video explores the dollar operator ($).

The dollar operator is useful for greater flexibility in function application, although you could use more brackets instead.

There are further details about dollars on the Learn You a Haskell site, although you haven’t yet been introduced to all the concepts they describe.

This article is from the free online

Functional Programming in Haskell: Supercharge Your Coding

Created by
FutureLearn - Learning For Life