Comment by _flux
8 hours ago
How does this work if it is given an empty list as a parameter?
I guess if one is always able to construct default values of T then this is not a problem.
8 hours ago
How does this work if it is given an empty list as a parameter?
I guess if one is always able to construct default values of T then this is not a problem.
> I guess if one is always able to construct default values of T then this is not a problem.
this is how go handles it;
is expected to return `"", errors.New("invalid state")` which... sucks for performance and for actually coding.