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

Make s-slice-at behave consistently on "". #90

Merged
merged 1 commit into from
Mar 14, 2016

Conversation

Fuco1
Copy link
Contributor

@Fuco1 Fuco1 commented Mar 13, 2016

Right now it just errors, but I think it is logical to return a list with an empty string, just like on (s-slice-at "-" "abc") it returns ("abc") (that is, the string wrapped in a list).

@magnars
Copy link
Owner

magnars commented Mar 14, 2016

Most certainly. Thanks!

magnars added a commit that referenced this pull request Mar 14, 2016
Make s-slice-at behave consistently on "".
@magnars magnars merged commit b5b2193 into magnars:master Mar 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants