Open mlutze opened 2 years ago
But we can do this for the input.
In order to know which interfaces to convert to typeclasses/superclasses we need all interfaces at the same time.
First iteration: create given instances and extra asX
method in instance to allow safe casting to the Java type.
Can't really do this without existential types. E.g.
ought to be wrapped as