Skip to content

Commit 00d1bc6

Browse files
eksperimentaljosevalim
authored andcommitted
Update range definition (#10834)
Ranges are no longer exclusively a consecutive sequence of integers.
1 parent 544466a commit 00d1bc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/lib/range.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
defmodule Range do
22
@moduledoc """
33
Ranges represent a sequence of zero, one or many, ascending
4-
or descending, consecutive integers.
4+
or descending integers with a common difference called step.
55
66
Ranges are always inclusive and they may have custom steps.
77
The most common form of creating and matching on ranges is

0 commit comments

Comments
 (0)