Eksperimental
b4e270354b
Fix optional callback blame hint ( #10893 )
...
Previously it was wrongly hinting that the
behaviour Behaviour expected a private or undefined function to be present,
when the callback was optional.
2021-04-12 09:21:58 +02:00
sabiwara
06f155eb49
Fix regression in Enum.dedup/1 ( #10886 )
2021-04-09 13:18:05 +02:00
Jonatan Männchen
81f37bfdc3
Add Struct Pattern Matching Guide ( #10889 )
2021-04-09 13:17:36 +02:00
José Valim
eb34806cf3
Allow default inspect fun to be set globally ( #10859 )
2021-04-09 12:48:32 +02:00
José Valim
8e0f679348
Explicitly mention relative and absolute URIs, closes #10884
2021-04-08 08:17:05 +02:00
José Valim
464db07b31
Do not ignore unimplemented function headers from used modules
2021-04-07 18:52:38 +02:00
Thiago Santos
655d8da614
Add example to Task.async_stream documentation ( #10876 )
2021-04-07 13:17:54 +02:00
José Valim
3c446e91eb
Add examples on more complex with clauses
2021-04-06 22:49:08 +02:00
José Valim
a1dc220219
More with
2021-04-06 21:59:42 +02:00
José Valim
f6ed9fa2b8
Simplify rules and error messages
2021-04-06 16:52:34 +02:00
Eksperimental
b0c09c81b4
Improve error message with invalid call at several locations ( #10879 )
2021-04-05 17:06:06 +02:00
Eksperimental
2424fe8a00
Make message in error suggestion generic for ones or more suggestions ( #10878 )
2021-04-05 17:05:10 +02:00
José Valim
b41c8fd404
Update CHANGELOG and remove defexception from forbidden calls
2021-04-05 10:19:56 +02:00
Wojtek Mach
f91e8ddc84
Use docs canonical version in all built-in apps ( #10872 )
...
Before:
https://hexdocs.pm/elixir/1.12.0-rc.0/changelog.html contains links like:
- [`Mix.install/2`](https://hexdocs.pm/mix/Mix.html#install/2 )
which currently 404.
After:
https://hexdocs.pm/elixir/1.12.0-rc.0/changelog.html would contain:
- [`Mix.install/2`](https://hexdocs.pm/mix/1.12/Mix.html#install/2 )
See demo: http://wojtekmach.pl/docs/elixir/1.12/elixir/changelog.html
2021-04-04 08:35:30 +02:00
Eksperimental
03829be0c0
Standardize use of Erlang/OTP VERSION ( #10867 )
2021-04-03 17:11:57 +02:00
Enrico Rivarola
218c35a041
Sync unicode data to Unicode 13.0.0 ( #10866 )
2021-04-03 15:20:05 +02:00
José Valim
464b10b3c9
Clarifications to Calendar.ISO
2021-04-03 15:02:36 +02:00
José Valim
88d82f0597
Remove invalid escaping of sigils, closes #10864
2021-04-02 23:12:43 +02:00
José Valim
587c80eae6
Make get_in consistent with pop_in and abort on nils
2021-04-02 19:42:11 +02:00
Eksperimental
0beb4f42fe
Update Unicode upgrade instructions ( #10862 )
2021-04-01 22:11:23 +02:00
Eksperimental
37a09feaaa
Update Unicode to version 13.0.0 ( #10861 )
2021-04-01 20:35:52 +02:00
José Valim
e79d32a8aa
Use persistent term for tokenizer and bootstrap
2021-04-01 10:45:15 +02:00
Eksperimental
70d740daec
Format source code with new rules
2021-04-01 09:46:47 +02:00
Eksperimental
d22060f91f
Quote range operator atom
...
This commit has only the actual changes
Add tests for quoted range operator
2021-04-01 09:46:47 +02:00
Eksperimental
1d552f9e5f
Update Enum.{random, shuffle}/1 docs to OTP 22 ( #10848 )
2021-03-30 18:52:25 +02:00
Eksperimental
57cd15c3be
Correct and improve definition of decreasing and increasing ranges ( #10850 )
2021-03-30 18:50:44 +02:00
Eksperimental
50c043daf1
Fix grammar in Range docs ( #10851 )
...
- Use "with a step of X"
- Replace usage of "start" and "stop" with "first" and "last"
2021-03-30 18:49:04 +02:00
Eksperimental
9e9f95c30c
Replace deprecated random seed algorigthm in tests ( #10849 )
...
Use :exss exclusively since it is the default one in OTP 22+
2021-03-30 18:39:54 +02:00
Wojtek Mach
c65976deb3
Update compatibility-and-deprecations.md ( #10846 )
2021-03-30 15:02:43 +02:00
José Valim
124f5627b8
More range copyedit
2021-03-30 14:44:40 +02:00
Eksperimental
b544632594
Copyedit Range specs and docs ( #10845 )
2021-03-30 14:43:13 +02:00
Eksperimental
4036afafc5
Simplify specs in Range by introducing t:limit/0 ( #10844 )
2021-03-30 14:26:31 +02:00
José Valim
c3cb40d2c9
Use types were appropriate in Range
2021-03-30 14:14:00 +02:00
Kelvin Stinghen
9c39d46e54
Keeping underscore between digits on Macro.camelize/1 ( #10843 )
...
Closes #10839
2021-03-30 13:42:09 +02:00
Eksperimental
bc842510dc
Use one-based var names in Types ( #10824 )
...
In the same fashion as generated arguments 30373382ec
2021-03-30 12:58:58 +02:00
José Valim
9897140126
Add notes about struct creation to URI and Version
2021-03-30 12:06:11 +02:00
José Valim
bb2fca84a9
Document ranges structs are read-only
2021-03-30 12:02:40 +02:00
José Valim
96b9be6424
Add Registry.values/3
2021-03-30 11:43:16 +02:00
José Valim
cb1e64e6cc
Add line numbers of first expression to lists
2021-03-30 11:07:46 +02:00
Łukasz Jan Niemier
e556bfbf9e
Set correct value returned by get_fun/2 callback ( #10842 )
...
By looking at source of `Access.all/0` it seems that returned value by
this function is `container()` instead of tuple `{val, container()}`.
2021-03-30 10:54:09 +02:00
José Valim
34457d2de3
Remove TODOs related to Erlang/OTP 22+
2021-03-30 09:46:43 +02:00
José Valim
71ad870e8c
Use -- instead of MapSet.difference/2
2021-03-30 09:27:23 +02:00
José Valim
746e122485
Remove Range.empty?/1
2021-03-30 09:21:51 +02:00
Eksperimental
6f58e362c9
Minor improvements to Integer docs ( #10837 )
2021-03-30 07:52:43 +02:00
Eksperimental
f734aac922
Simplify Range's step error message ( #10835 )
2021-03-29 23:34:25 +02:00
Eksperimental
ead66ec577
Update range definition ( #10834 )
...
Ranges are no longer exclusively a consecutive sequence of integers.
2021-03-29 23:24:56 +02:00
Eksperimental
95a6792375
Fix t:Range.t/2 ( #10833 )
...
We need to be explicit and define the step field, otherwise IEx and ExDoc will spec it as "term()"
(1)> t Range.t/2
@type t(first, last) :: %Range{first: first, last: last, step: term()
2021-03-29 22:35:32 +02:00
José Valim
4e2fde5d28
Require Erlang/OTP 22+
2021-03-29 20:15:39 +02:00
Eksperimental
e6ffd5c232
Remove Integer.to_string/1 and Integer.to_charlist/1 ( #8777 )
...
They are not needed, since they are covered by their /2 version.
2021-03-29 17:53:19 +02:00
José Valim
e523eaa53d
Start v1.13-dev
2021-03-29 17:49:26 +02:00