go-hep / hep

hep is the mono repository holding all of go-hep.org/x/hep packages and tools
https://go-hep.org
BSD 3-Clause "New" or "Revised" License
230 stars 35 forks source link

sliceop{,/f64s}: revamp package to use new stdlib slices package #870

Open sbinet opened 2 years ago

sbinet commented 2 years ago

with https://github.com/golang/go/issues/45955 being accepted, we probably want to revamp our sliceop/f64s into a new sliceop package, importing all of stdlib's slices and adding our own stuff.

as a first deprecation step, sliceop/f64s could import sliceop "generic" funcs.

that's of course for when go-1.18 is out (and even for after go-1.19 is realeased)