Hullaballoonatic
05/05/2019, 1:43 AMrangeTo ..
operator to add descending and unbounded functionality, e.g. list[3..]
gildor
05/05/2019, 2:50 AMlist.drop(3)
Hullaballoonatic
05/05/2019, 3:33 AMHullaballoonatic
05/05/2019, 3:33 AMgildor
05/05/2019, 11:37 AMghedeon
05/05/2019, 1:44 PMghedeon
05/05/2019, 1:52 PMHullaballoonatic
05/05/2019, 9:01 PMlist[..3]
and list[3..]
are more intuitive and immediately comprehensible than list.drop(3)
and list.take(3)
. especially when in virtually all programming languages, calling drop
on a collection will remove 3 elements from the collection, not return a sub list. maybe i'm wrong, though.