commercialhaskell / rio

A standard library for Haskell
Other
838 stars 54 forks source link

Move `slice` functions from vector to *.Partial #200

Open bjornbm opened 4 years ago

bjornbm commented 4 years ago

The slice functions from vector are partial, which I assumed means they should be moved to the *.Partial modules? Applies to:

Perhaps add safe versions returning Maybe (Vector a)?

snoyberg commented 4 years ago

Good call, this is definitely an oversight. Want to send a PR?

bjornbm commented 4 years ago

Sure, I hope to find time next week.