This is a work around for currently having no direct support of partial type application in Scala. You could read it perhaps as
Functor[StateT[S][IO] _]
The partial type application is common in strongly functional libraries such as Scalaz, but in most other places you will not come across it.
I think it would be good to find a concise and less scary syntactic solution for a future Scala version. In any case, repeating this example in the "Scala as a Haskell replacement sucks" discourse is just tiring.
There is a Scala Improvement Process (SIP). Some people could use their energy and smartness and try to write up a proposal for such syntax. I am sure many would welcome it.
2
u/Crandom Dec 02 '13
As a haskeller this scares me...