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