Module

Range

Changes by version

Elixir 1.18.0

· 1 change

Hard Deprecation Tool: Elixir

Deprecate inferring negative ranges on Range.new/2

Elixir 1.17.0

· 2 changes

Hard Deprecation Tool: Elixir

left..right without explicit steps inside patterns and guards is deprecated, write left..right//step instead

Hard Deprecation Tool: Elixir

Decreasing ranges, such as 10..1 without an explicit step is deprecated, write 10..1//-1 instead

Elixir 1.15.0

· 1 change

Enhancement Tool: Elixir

Add Range.split/2

Elixir 1.14.3

· 2 changes

Enhancement Tool: Elixir

Optimize range membership implementation

Bugfix Tool: Elixir

Address corner cases in Range.disjoint?/2 implementation

Elixir 1.13.0

· 1 change

Bugfix Tool: Elixir

Always show step when range is descending

Elixir 1.12.3

· 1 change

Bugfix Tool: Elixir

Still match on old range patterns throughout the stdlib

Elixir 1.12.0

· 1 change

Enhancement Tool: Elixir

Add Range.new/3 and Range.size/1

Elixir 1.8.0

· 1 change

Enhancement Tool: Elixir

Add Range.disjoint?/2

Elixir 1.6.0

· 1 change

Enhancement Tool: Elixir

Deprecate Range.range?/1 in favor of pattern matching on _ .. _

Elixir 1.3.0

· 1 change

Enhancement Tool: Elixir

Range.range?/1 now checks the validity of a range.

Elixir 1.1.0

· 1 change

Bugfix Tool: Elixir

Restrict ranges to integers to fix diverse bugs of values being included in the range when they should not (false positives)

Elixir 0.12.3

· 1 change

Enhancement Tool: Elixir

Range is no longer a record, instead use first .. last if you need pattern matching

Elixir 0.12.0

· 1 change

Enhancement Tool: Elixir

Range.Iterator protocol has changed in order to work with the new Enumerable.reduce/3. Please see Range.Iterator docs for more info