Skip to content

Commit 65a77a8

Browse files
author
Zheyuan Chen
authored
Update README.md
after -> drop
1 parent a2aaabc commit 65a77a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ print(0 /to/ NEGINF /by/ 2 /take/ 5)
117117
# also works with negative infinity.
118118
# return [0, -2, -4, -6, -8]
119119

120-
print(1 /to/ 10 /after/ 5)
121-
# there is a `after` functon which adds an offset to the range beginning
120+
print(1 /to/ 10 /drop/ 5)
121+
# there is a `drop` functon which drop N items from the head
122122
# return [6, 7, 8, 9, 10]
123123

124124
# print all combinations of [1..3] * [4..6]

0 commit comments

Comments
 (0)