val intListFactory: KleisliOf<Int, ForListK, Int> = Kleisli { a: Int ->
listOf(2 * a).k()
}
val anyListFactory: KleisliOf<Any, ForListK, Any> = intListFactory // Should raise a compile-time error here
anyListFactory.fix().run("hello") // ClassCastException is thrown instead
I suggest removing the out modifiers from these locations:
What version are you currently using?
0.10.5
What would you like to see?
I suggest removing the
out
modifiers from these locations: