Skip to content

Commit

Permalink
regen graindoc
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-snezhko committed Jun 12, 2023
1 parent d878b31 commit dba9d1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stdlib/list.md
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ No other changes yet.
</details>

```grain
insert : (value: a, index: Number, list: List<a>) -> List<a>
insert : (index: Number, value: a, list: List<a>) -> List<a>
```

Inserts a new value into a list at the specified index.
Expand All @@ -679,8 +679,8 @@ Parameters:

|param|type|description|
|-----|----|-----------|
|`value`|`a`|The value to insert|
|`index`|`Number`|The index to update|
|`value`|`a`|The value to insert|
|`list`|`List<a>`|The list to update|

Returns:
Expand Down

0 comments on commit dba9d1a

Please sign in to comment.