Skip to content

Commit

Permalink
(docs) add negative range
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Aug 8, 2024
1 parent 1f58657 commit da3305c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/docs/lips/functional-helpers.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ This is common function from Python. LIPS Scheme version works exactly the same
;; ==> (5 6 7 8 9)
(range 0 10 2)
;; ==> (0 2 4 6 8)
(range 0 -10 -2)
;; ==> (0 -2 -4 -6 -8 -10)
```

If used with one argument it returns `n` numbers starting from `0`.
Expand Down

0 comments on commit da3305c

Please sign in to comment.