Skip to content

Commit ff5fa19

Browse files
committed
Auto-generated commit
1 parent ca37c94 commit ff5fa19

File tree

4 files changed

+38
-3
lines changed

4 files changed

+38
-3
lines changed

.github/.keepalive

Lines changed: 0 additions & 1 deletion
This file was deleted.

CHANGELOG.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,40 @@
22

33
> Package changelog.
44
5+
<section class="release" id="unreleased">
6+
7+
## Unreleased (2025-08-12)
8+
9+
<section class="commits">
10+
11+
### Commits
12+
13+
<details>
14+
15+
- [`77867ac`](https://github.com/stdlib-js/stdlib/commit/77867ac1767a186023f633dea30ddf860962aaed) - **docs:** remove trailing whitespace _(by Philipp Burckhardt)_
16+
17+
</details>
18+
19+
</section>
20+
21+
<!-- /.commits -->
22+
23+
<section class="contributors">
24+
25+
### Contributors
26+
27+
A total of 1 person contributed to this release. Thank you to this contributor:
28+
29+
- Philipp Burckhardt
30+
31+
</section>
32+
33+
<!-- /.contributors -->
34+
35+
</section>
36+
37+
<!-- /.release -->
38+
539
<section class="release" id="v0.2.2">
640

741
## 0.2.2 (2024-07-27)

CONTRIBUTORS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Abhishek G <166795493+AbhishekG-Codes@users.noreply.github.com>
1313
Abhishek Jain <40913033+abhishekblue@users.noreply.github.com>
1414
Adarsh Palaskar <adarshpalaskar99@gmail.com>
1515
Aditya Sapra <adityaework@gmail.com>
16+
Aditya Singh <adityasinghk099@gmail.com>
1617
Ahmed Atwa <Ahmedatwa866@yahoo.com>
1718
Ahmed Kashkoush <ahmedkashkoush464@gmail.com>
1819
Ahmed Khaled <kahmd1444@gmail.com>
@@ -121,6 +122,7 @@ Muhammad Haris <harriskhan047@outlook.com>
121122
Muhammad Taaha Tariq <166188821+Taaha-Tariq@users.noreply.github.com>
122123
Muhmmad Saad <106260977+saad-imran-dev@users.noreply.github.com>
123124
NEEKUorAAYUSH <aayush10072004@gmail.com>
125+
Nakul Krishnakumar <nakulkrishnakumar86@gmail.com>
124126
Naresh Jagadeesan <naresh.naresh000@gmail.com>
125127
Naveen Kumar <stupiddint@gmail.com>
126128
Neeraj Pathak <neerajrpathak710@gmail.com>

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ where
104104
- If an `increment` is not specified, the default increment is `1`. An increment of zero is **not** allowed.
105105
- The `start` index is **inclusive**.
106106
- The `stop` index is **exclusive**.
107-
- Both `start` and `stop` indices are _optional_. If not provided, `start` and `stop` default to index extremes. Which extremes correspond to which index depends on whether the `increment` is positive or negative.
107+
- Both `start` and `stop` indices are _optional_. If not provided, `start` and `stop` default to index extremes. Which extremes correspond to which index depends on whether the `increment` is positive or negative.
108108
- Both `start` and `stop` can be negative; in which case, the corresponding index is resolved by subtracting the respective value from the provided length `len`.
109109
- Both `start` and `stop` can use the `end` keyword (e.g., `end-2::2`, `end-3:`, etc), which supports basic subtraction and division.
110110
- The `end` keyword resolves to the provided length `len`. Thus, `:-1` is equivalent to `:end-1`, `:-2` is equivalent to `:end-2`, and so on and so forth. The exception is when performing a division operation when the `increment` is less than zero; in which case, `end` is equal to `len-1` in order to preserve user expectations when `end/d` equals a whole number and slicing from right-to-left. The result from a division operation is **rounded down** to the nearest integer value.
@@ -170,7 +170,7 @@ var s = seq2slice( '10:20', 10, true );
170170
- When `strict` is `false`, the resolved slice start is clamped to the slice index bounds (i.e., `[0, len)`).
171171
- When `strict` is `false`, the resolved slice end is upper bound clamped to `len` (i.e., one greater than the last possible index).
172172
- When the increment is negative, the resolved slice end value may be `null`, thus indicating that a non-empty slice should include the first index.
173-
- The function ensures that results satisfy the convention that `:n` combined with `n:` is equivalent to `:` (i.e., selecting all elements). This convention matches Python slice semantics, but diverges from the MATLAB convention where `:n` and `n:` overlap by one element.
173+
- The function ensures that results satisfy the convention that `:n` combined with `n:` is equivalent to `:` (i.e., selecting all elements). This convention matches Python slice semantics, but diverges from the MATLAB convention where `:n` and `n:` overlap by one element.
174174
- Unlike MATLAB, but like Python, the subsequence string is upper-bound exclusive. For example, in Python, `0:2` corresponds to the sequence `{0,1}`. In MATLAB, `1:3` corresponds to `{1,2,3}`.
175175

176176
</section>

0 commit comments

Comments
 (0)