(no title)
nalgeon | 1 year ago
- Iterators (range / types / pull / slices / maps).
- Timer changes (garbage collection and reset/stop behavior).
- Canonical values with the `unique` package.
- HTTP cookie handling.
- Copying directories.
- Slices and atomics changes.
danielvaughn|1 year ago
metadat|1 year ago
In the example:
These both output the same thing. What's the point of the addition?Slices.All() seems similarly redundant and pointless.
Surely I must be misunderstanding something, I hope.
sakjur|1 year ago
If I create a IterateOver(fn func(func (K, V any) bool)) function, you cannot pass a slice since that doesn’t match fn’s type, but if you wrap it with slices.All it’ll work.
ianlancetaylor|1 year ago
unknown|1 year ago
[deleted]
felixge|1 year ago
monkfromearth|1 year ago
[deleted]