Use an abstract factory function for that.
# language-proposals
d
Use an abstract factory function for that.