We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Functions for accessing the end of a sequence…
const dropTail = (seq, n) => chain(slidingWindow(n+1), map(first)); const seekTail = (seq, n) => chain(slidingWindow(1), last); example splitTail([a, b, c, d, e], 2) -> [[a, b, c], [d, e]])
Add Try variants too (those are variants that won't complain if the seq is too short)…
This is symmetric with #141; the API should reflect this and both features may need to be added at the same time.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Functions for accessing the end of a sequence…
Add Try variants too (those are variants that won't complain if the seq is too short)…
This is symmetric with #141; the API should reflect this and both features may need to be added at the same time.
The text was updated successfully, but these errors were encountered: