instance Applicative ((->) r) where
This is the implementation of the Applicative typeclass for a function in Haskell. I don't really understand the ((->) r) and how to read it.
I think it means it is a function that takes one parameter and returns anything (another curried function, a String) but I'm not sure, is that right. Would that not be (r ->)