abc $ def $ ghi は abc(def (ghi)) と書くのと同じなので、
ghiがdefの引数になってしまう。

一方abc . def . ghi は \ x -> abc(def(ghi x))