We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c01996 commit 02e9b89Copy full SHA for 02e9b89
lib/elixir/lib/range.ex
@@ -5,9 +5,8 @@ defmodule Range do
5
6
Ranges are always inclusive and they may have custom steps.
7
The most common form of creating and matching on ranges is
8
- via the [`start..stop`](`../2`) and [`start..stop//step`](`..///3`) notations,
9
- defined respectively as the `../2` and `..///3` macros
10
- auto-imported from `Kernel`:
+ via the [`first..last`](`../2`) and [`first..last//step`](`..///3`)
+ notations, auto-imported from `Kernel`:
11
12
iex> Enum.to_list(1..3)
13
[1, 2, 3]
0 commit comments