I'd like to have a collection of pairs of `ThreadL...
# announcements
m
I'd like to have a collection of pairs of
ThreadLocal<T>
and
(...) -> T
(to populate the thread local), except that
T
isn't going to be the same for every pair (might have a pair for a
TL<String>
, and another for a
TL<Foo>
). Is there a nice way to represent this in the type system?