I posted a significant update to this proposal (incorporating Doug's feedback above) on a pitch #2 thread. Thank you for all the feedback!
-Chris
I posted a significant update to this proposal (incorporating Doug's feedback above) on a pitch #2 thread. Thank you for all the feedback!
-Chris
Maybe we need some sort of protocol poison? It's like the desired AnyValue
facility; it directly requires a value type, but would work by poisoning against reference types. (But AnyValue
is easier since the determining factor, value vs. reference types, can't be overridden by the user, unlike conforming to arbitrary protocols.)