Skip to content

Commit

Permalink
chore(stdlib): Correct history entry
Browse files Browse the repository at this point in the history
  • Loading branch information
spotandjake committed Jun 25, 2023
1 parent 2d62cea commit a78146a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion stdlib/stack.gr
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ provide let peek = stack => {
* @param stack: The stack being updated
*
* @since v0.6.0
* @history v0.6.0: No longer errors when stack size is `0`
*/
provide let push = (value, stack) => {
let arrLen = Array.length(stack.array)
Expand Down Expand Up @@ -212,6 +211,7 @@ provide module Immutable {
* @returns A new stack with the item added to the end
*
* @since v0.6.0
* @history v0.3.0: Originally a module root API
*/

provide let push = (value, stack) => {
Expand Down
26 changes: 13 additions & 13 deletions stdlib/stack.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,16 +157,9 @@ Returns:

### Stack.**push**

<details>
<summary>Added in <code>next</code></summary>
<table>
<thead>
<tr><th>version</th><th>changes</th></tr>
</thead>
<tbody>
<tr><td><code>next</code></td><td>No longer errors when stack size is `0`</td></tr>
</tbody>
</table>
<details disabled>
<summary tabindex="-1">Added in <code>next</code></summary>
No other changes yet.
</details>

```grain
Expand Down Expand Up @@ -358,9 +351,16 @@ Returns:

#### Stack.Immutable.**push**

<details disabled>
<summary tabindex="-1">Added in <code>next</code></summary>
No other changes yet.
<details>
<summary>Added in <code>next</code></summary>
<table>
<thead>
<tr><th>version</th><th>changes</th></tr>
</thead>
<tbody>
<tr><td><code>0.3.0</code></td><td>Originally a module root API</td></tr>
</tbody>
</table>
</details>

```grain
Expand Down

0 comments on commit a78146a

Please sign in to comment.