What is the difference between the dot (.) and the dollar sign ($)?
(.)
($)
As I understand it, they are both syntactic sugar for not needing to us
I think a short example of where you would use . and not $ would help clarify things.
.
$
double x = x * 2 triple x = x * 3 times6 = double . triple :i times6 times6 :: Num c => c -> c
Note that times6 is a function that is created from function composition.
times6