-
-
Notifications
You must be signed in to change notification settings - Fork 12
Added aslice
macro
#1249
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
Added aslice
macro
#1249
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. I just have one question.
"Get a portion of the Python list ``array`` using a | ||
Python :external:py:obj:`slice` instance with a single ``stop`` | ||
value, or a combination of ``start`` and ``stop`` and optional | ||
``step`` values. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm wondering if we should add any documentation about the fact that nil
is equivalent to omission in Python for any of these values.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated, I've tried to mention nil
means omit
in the next paragraph, but please be free to suggest a better wording.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great. Thank you!
38ea78d
to
87b2199
Compare
"Get a portion of the Python list ``array`` using a | ||
Python :external:py:obj:`slice` instance with a single ``stop`` | ||
value, or a combination of ``start`` and ``stop`` and optional | ||
``step`` values. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great. Thank you!
Hi,
can you please consider patch to introduce the
aslice
macro inbasilisp.core
. It addresses #1248.Thanks