Hacker News new | ask | show | jobs
by silisili 1095 days ago
These new packages, like slices and maps, were a long time coming. So glad it's finally here.

I cannot even begin to tell you how many different itemInSlice functions I've written over the years.

2 comments

We've had `slices` and `maps` in the `exp` tree for awhile; I think they're pretty widely used already.
tbh whenever I write one of these it makes me wonder if I can accomplish the same logic in a better way.