You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since we are about to have a function to remove a key pair from a map (#1032), I believe that could be a good idea to keep some consistency and have the same thing for a list.
Thus, very standard list functions would be covered with append() to add, set-nth() to update and remove() to delete.
And since we'll have a way to update at index n, I guess it could make sense to have insert-nth and remove-nth as well.
As of today, we still have to resort to custom functions or external libraries when heavily dealing with lists (thus http://sassylists.com).
Cheers,
The text was updated successfully, but these errors were encountered:
Since we are about to have a function to remove a key pair from a map (#1032), I believe that could be a good idea to keep some consistency and have the same thing for a list.
Thus, very standard list functions would be covered with
append()
to add,set-nth()
to update andremove()
to delete.And since we'll have a way to update at index
n
, I guess it could make sense to haveinsert-nth
andremove-nth
as well.As of today, we still have to resort to custom functions or external libraries when heavily dealing with lists (thus http://sassylists.com).
Cheers,
The text was updated successfully, but these errors were encountered: