Let me know your progress and I am always available to help.
Frankly I did not know this was possible too, until I researched it.
.
But it is syntactically and computational correct: It does what you want.
And it is only declarations, not (much) real code....
In general: a request for comments: this is a pattern that can be solved multiple ways.
And the question is rather common. So is the generic way right?
(I am sure it is, but respect comments from peers, which means you have to be really good).