FunctionApplicationOperator.md (344B)
1 # Function Application Operator 2 3 **Source:** Effective Haskell 4 5 **Chapter:** 1 6 7 **Definition:** The function application operator ($) sends the result of a function to the input of another function. 8 9 ## Example 10 11 ```haskell 12 13 addOne num = num + 1 14 timesTwo num = num * 2 15 16 -- These are both identical. 17 18 addOne (timesTwo 2) 19 addOne $ timesTwo 2 20 21 ```