r-lib / rray

Simple Arrays
https://rray.r-lib.org
GNU General Public License v3.0
130 stars 12 forks source link

`min()`, `max()` and `range()` should return classed rrays #229

Closed DavisVaughan closed 5 years ago

DavisVaughan commented 5 years ago

Because of the behavior of: min(new_vctr(1))

This makes sense now that I know these should not be included in vec_math()

DavisVaughan commented 5 years ago

And they should be type stable min(new_vctr(TRUE)) vs min(TRUE)