I have enabled the kind compiler plugin addCompilerPlugin("org.spire-math" % "kind-projector" % "0.9.6") and I can now use the ? symbol e.g. Map[String, ?] however Lambda and λ are not resolved.
val f: Id ~> Future = λ[Id ~> Future](...)
produces Error: not found: value λ. Is λ still supported by the kind compiler?
Firstly, just a reminder that one should add
to
build.sbtand not for example toplugins.sbt.Then, for example, for
declaration with type lambda
can be replaced with
or
or
I'm not sure if
is a valid syntax.
~>is usually used for natural transformations like inand not for type lambdas.
Update. Ok, it's polymorphic lambda https://github.com/typelevel/kind-projector#polymorphic-lambda-values