japaric-archived / linalg.rs

[INACTIVE]
Apache License 2.0
29 stars 1 forks source link

Change `Slice` traits to use range notation #44

Closed japaric closed 9 years ago

japaric commented 9 years ago

Does m.slice((a,b)..(c,d)) look better than m.slice((a,b), (c,d))?

At least I could remove m.slice_to((a, b)) in favor of m.slice(..(a, b)) (same thing with the slice_from method).

japaric commented 9 years ago

Implemented in 42f00aa51253969d7e1754422be5a3e2453b8c42.