Skip to content

Commit

Permalink
chore(stdlib): Add history item to print for suffix change (#2131)
Browse files Browse the repository at this point in the history
  • Loading branch information
spotandjake committed Jul 29, 2024
1 parent 4bb8fae commit cb8ef42
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 6 deletions.
13 changes: 10 additions & 3 deletions stdlib/pervasives.md
Original file line number Diff line number Diff line change
Expand Up @@ -855,9 +855,16 @@ Returns:

### Pervasives.**print**

<details disabled>
<summary tabindex="-1">Added in <code>0.1.0</code></summary>
No other changes yet.
<details>
<summary>Added in <code>0.1.0</code></summary>
<table>
<thead>
<tr><th>version</th><th>changes</th></tr>
</thead>
<tbody>
<tr><td><code>0.6.0</code></td><td>Added support for custom suffixes</td></tr>
</tbody>
</table>
</details>

```grain
Expand Down
1 change: 1 addition & 0 deletions stdlib/runtime/string.gr
Original file line number Diff line number Diff line change
Expand Up @@ -855,6 +855,7 @@ provide let toString = value => {
* @param suffix: The string to print after the argument
*
* @since v0.1.0
* @history v0.6.0: Added support for custom suffixes
*/
@unsafe
provide let print = (value, suffix="\n") => {
Expand Down
13 changes: 10 additions & 3 deletions stdlib/runtime/string.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,16 @@ Returns:

### String.**print**

<details disabled>
<summary tabindex="-1">Added in <code>0.1.0</code></summary>
No other changes yet.
<details>
<summary>Added in <code>0.1.0</code></summary>
<table>
<thead>
<tr><th>version</th><th>changes</th></tr>
</thead>
<tbody>
<tr><td><code>0.6.0</code></td><td>Added support for custom suffixes</td></tr>
</tbody>
</table>
</details>

```grain
Expand Down

0 comments on commit cb8ef42

Please sign in to comment.