I like this, but usually either i need value or ref types, not both.
On the other hand, rather than val i'd use init (i'm sure this was a convention).
I like this, but usually either i need value or ref types, not both.
On the other hand, rather than val i'd use init (i'm sure this was a convention).