From a78146a0d722c9eca38457d0301e56c7fd33eecd Mon Sep 17 00:00:00 2001 From: Spotandjake Date: Sun, 25 Jun 2023 18:19:54 -0400 Subject: [PATCH] chore(stdlib): Correct history entry --- stdlib/stack.gr | 2 +- stdlib/stack.md | 26 +++++++++++++------------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/stdlib/stack.gr b/stdlib/stack.gr index 10c431d826..365955c3c0 100644 --- a/stdlib/stack.gr +++ b/stdlib/stack.gr @@ -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) @@ -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) => { diff --git a/stdlib/stack.md b/stdlib/stack.md index 5f913e08dd..7c517c183a 100644 --- a/stdlib/stack.md +++ b/stdlib/stack.md @@ -157,16 +157,9 @@ Returns: ### Stack.**push** -
-Added in next - - - - - - - -
versionchanges
nextNo longer errors when stack size is `0`
+
+Added in next +No other changes yet.
```grain @@ -358,9 +351,16 @@ Returns: #### Stack.Immutable.**push** -
-Added in next -No other changes yet. +
+Added in next + + + + + + + +
versionchanges
0.3.0Originally a module root API
```grain