square
and gt100
:gt100
and square
functions to the same argument, we can compose them into one and avoid parentheses altogether by applying that composed function to the argument. This is achieved through two function operators, function composition and function application operators:($)
, and it simply applies the given function to the given argument. This is how it is defined in the Prelude:squareGt100
function:gt100
and square
and then apply the composed function to the argument x
. Note that we could also use just the function composition operator, but in that case, we would still have to use parentheses: