Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing items from a list #1051

Open
KittyGiraudel opened this issue Dec 17, 2013 · 2 comments
Open

Removing items from a list #1051

KittyGiraudel opened this issue Dec 17, 2013 · 2 comments
Labels
enhancement New feature or request under consideration The Sass team is debating whether to do this

Comments

@KittyGiraudel
Copy link

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,

@strarsis
Copy link

strarsis commented Jan 4, 2017

@hugogiraudel: The link http://sassylists.com doesn't work anymore (domain seems deleted).

@KittyGiraudel
Copy link
Author

Yup. I let it expire. Here is the link: http://at-import.github.io/SassyLists/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request under consideration The Sass team is debating whether to do this
Projects
None yet
Development

No branches or pull requests

2 participants