mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 06:55:15 +00:00
fix example
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
This commit is contained in:
parent
35f221d9de
commit
47d810e059
1 changed files with 1 additions and 1 deletions
|
@ -1263,7 +1263,7 @@ splitAt = \elements, userSplitIndex ->
|
|||
## Splits the input list on the delimiter element.
|
||||
##
|
||||
## ```roc
|
||||
## List.splitOn [1, 2, 3] 2 == [[1], [2]]
|
||||
## List.splitOn [1, 2, 3] 2 == [[1], [3]]
|
||||
## ```
|
||||
splitOn : List a, a -> List (List a) where a implements Eq
|
||||
splitOn = \elements, delimiter ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue