|
|
|
|
|
by johncolanduoni
3266 days ago
|
|
Why is that required? There's nothing stopping you from only giving the list a precise type after an element has been added. This mirrors the way statically typed languages with inference handle the same situation (except they wait for evidence that it's being used as a list of Ts, instead of the actual act). |
|
Say, because you want to use that reference cell in two different threads.