Axel Wagner
Axel Wagner
I don't know if it has been brought up, but `Contains` fits into the family `None`/`Any`/`All` - if we had all three, it would be `Any`. I've recently found myself...
@fzipp Arguably there should be. As usually, the special case are floating point numbers, where [distinguishable elements can still compare as equal](https://go.dev/play/p/Fg6yFGyemgJ). Distinguishing the stable/unstable sorting result requires using `math.Signbit`...
@gophun I've been using the `slices` package over the last year or so whenever I thought of it. In particular, I've been using it a bunch for Advent of Code...
One question: The solution to mark arguments to `func Comparable` as escaping is still incompatible with a moving GC, right? So, if this happens and gets adopted, it would be...
@aclements Ah I read that but I just didn't understand it correctly at the time. Re-reading has clarified that. Thank you.
FWIW personally I very much like this proposal. I think it is one of the most well-designed proposals to add sum types to Go I've seen and IMO the result...
I suggested that [in the original issue](https://github.com/golang/go/issues/50340#issuecomment-1088283965) but it did not happen. Perhaps my arguments at the time where weak, though.
Thanks for replying. However, even a loopback-connection will still require the serialization and de-serialization part of all the requests and metadata. That's kind of a waste if we already have...
@willfaught I actually think it would be *less* transparent, not more. Because instead of seeing the actual human-readable information that is sent, you get a bunch of cryptic numbers that...