I am trying to understand the following code fragment (from the Scalaz library):
def kleisliIdApplicative[R]: Applicative[Kleisli[Id, R, ?]] = ...
I assume that the type of the form T[P0, ?]is a constructor type that takes a parameter. However, I cannot find documentation that explains the use of question marks in type parameters.
A related question is what is the difference between a question mark and underscore?
Is there a place where all this is well documented?
source
share