[Haskell-cafe] question regarding the $ apply operator

Arlen Cuss celtic at sairyx.org
Tue Jul 19 09:06:31 CEST 2011


> Just curious, the following is not allowed in Haskell either for the
> same reason.
> 
> applySkip i f ls = (take i) ls ++ $ f $ drop i ls

This doesn't work for a slightly different reason; you can't use the
infix operators beside each other ("++ $"), but if you could, it'd work!



More information about the Haskell-Cafe mailing list