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 7e76039 commit b213013Copy full SHA for b213013
lib/elixir/lib/range.ex
@@ -24,7 +24,7 @@ defmodule Range do
24
25
When defining a range without a step, the step will be
26
defined based on the first and last position of the
27
- range, If `first >= last`, it will be an increasing range
+ range, If `last >= first`, it will be an increasing range
28
with a step of 1. Otherwise, it is a decreasing range.
29
Note however implicit decreasing ranges are deprecated.
30
Therefore, if you need a decreasing range from `3` to `1`,
0 commit comments