I was trying to convert a haskell example, I came across earlier, to scalaz. The original example was this:
("Answer to the ", (*)) <*> ("Ultimate Question of ", 6) <*> ("Life, the Universe, and Everything", 7)
Which, as far as I am able to understand, uses this instance.
It does not get converted to scalaz literally:
scala> ("Answer to the ", ((_: Int) * (_: Int)) curried) |@| ("Ultimate Question of ", 6) |@| ("Life, the Universe, and Everything", 7) tupled
res37: (java.lang.String, (Int => (Int => Int), Int, Int)) = (Answer to the Ultimate Question of Life, the Universe, and Everything,(<function1>,6,7))
Although, I've looked for an instance, and it seems to be there (again, as far as I am able to understand).
So, the question is: why does not it work like this? Or what did I miss/did not get correctly?