Frederik Z.
Frederik Z.
> I'm curious if it's feasible to use the `@` operator in this context. Ok, I figured it out myself: ``` +/% +/% 1 0 -1 @flip@ 1 0 -1...
> it is imported by 1,541 other packages Usage statistics per function would be interesting. If there's a function that isn't used at all, that could be a sign that...
> 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 think it...
Why is there a stable variant of SortFunc, but not of Sort? Edit: I think I found the answer. It's because only value types can satisfy constraints.Ordered.
I'm using macOS. If you have a macOS machine you should be able to my reproduce my behavior: System Settings -> General -> Date & Time - Uncheck "Set time...
The following is my understanding when looking at this table: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List - The TZ database maps from the column "TZ identifier" (I would have called it "Location") to the current...
> There is no general lookup mechanism from a "Time zone abbreviation" string to its corresponding "UTC Offset", at least not in Go's time package. Since this lookup direction doesn't...
> Note: the only restrictions to this change would be that any type that is already iterable (e.g. slices, arrays, maps, etc...) only ever use their typical behavior on iteration,...
> I hope that the revised loop variable semantics will soon be available without setting `GOEXPERIMENT` at all. 🙃 It is already available if you select "Go dev branch" on...
I still get a panic for a project that uses rangefunc. Apparently there is a unhandled switch case in SA4004. ``` panic: internal error: unhandled case *types.Signature goroutine 249 [running]:...