Skip to content

Commit

Permalink
Fix an issue in the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mertyildiran committed Jul 26, 2020
1 parent d0fd8d4 commit 85bda5e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@ Inserts a new item `x` into list `l` before index `i`.

```chaos
kaos> list a = [1, 2, 3]
kaos> array.reverse(a)
[3, 2, 1]
kaos> array.insert(a, 5, 1)
[1, 5, 2, 3]
kaos> array.insert(a, 4)
[1, 2, 3, 4]
```

### list array.reverse(list l)
Expand Down

0 comments on commit 85bda5e

Please sign in to comment.