It would be nice if we could somehow imitate scala pattern matching. Input expression would have to stop being Booleans but would have to start being Option[T] so they can for example detect a subtype. Then such a subtype would have to become available to output.
This is just an idea, I dont know yet how the API for this could look like.
It would be nice if we could somehow imitate scala pattern matching. Input expression would have to stop being
Booleansbut would have to start beingOption[T]so they can for example detect a subtype. Then such a subtype would have to become available to output.This is just an idea, I dont know yet how the API for this could look like.