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 203cb4b commit 1dd09cbCopy full SHA for 1dd09cb
lib/elixir/lib/range.ex
@@ -68,6 +68,10 @@ defmodule Range do
68
iex> range.step
69
2
70
71
+ You can access the range fields (`first`, `last`, and `step`)
72
+ directly but you should not modify nor create ranges by hand.
73
+ Instead use the proper operators or `new/2` and `new/3`.
74
+
75
A range implements the `Enumerable` protocol, which means
76
functions in the `Enum` module can be used to work with
77
ranges:
0 commit comments