What about when the input and output types are not the same?
I've done this kind of thing quite a bit in Glimmer. The trick is to use a mapping interface and <E extends src.Expr>
-
-
What is a "mapping interface"?
-
Here's a more fleshed out variant of the same trickpic.twitter.com/bIFDxc8xug
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.