Commit Graph
9797 Commits
Author SHA1 Message Date
Łukasz Samson 0a8b03f397 Add Node.spawn_link (#11540) 2022-01-05 12:11:04 +01:00
José Valim a9cecc2e3a Remove support for Erlang/OTP 22 2022-01-05 09:14:03 +01:00
sabiwara 4783ab8f01 Use consistent argument name in DateTime doc (#11537) 2022-01-04 11:30:29 +01:00
palexanderm 0632502848 Fix typo in Special Forms docs (#11535) 2022-01-03 21:39:46 +01:00
calvin-kargo 47f8168159 Add assignment as generator documentation at for comprehension (#11534) 2022-01-03 21:26:53 +01:00
José Valim 4ed078aa42 Use more precise headers on Date function docs, closes #11533 2022-01-02 19:59:50 +01:00
Aleksei Matiushkin 5f8994119c Fix the nested uniq: acc name clash by preserving a scope (#11532) 2022-01-01 09:00:18 +01:00
José Valim 2f748078bd Access callbacks always receive structs 2021-12-30 23:42:25 +01:00
Aaron Tinio 4d48acf928 Fix hidden escape chars in File.stream!/3 docs (#11529) 2021-12-30 09:33:44 +01:00
Michał Łępicki 48e6c01d63 Define exception field as true instead of term when expanding struct type (#11528) 2021-12-29 17:37:26 +01:00
Dwi Prihandi 17f302ad0d Fix typespec on Base.decode16! (#11526) 2021-12-27 10:30:58 +01:00
Eksperimental 5fc3878561 Remove reference to t:Enum.t/0 in Typespecs page (#11521)
See discussion: https://github.com/elixir-lang/elixir/pull/11520#issuecomment-999901843
2021-12-22 23:30:29 +01:00
Thiago Santos 2e75c4de0d Warn on zero arity callbacks inside protocols (#11519) 2021-12-22 22:01:14 +01:00
Eksperimental 8d9740e5f0 Add note about which attributes support guard notation in typespecs (#11518) 2021-12-22 20:24:33 +01:00
Eksperimental 6aabd3df27 Streamline t:Enumerable.t/1 docs (#11517) 2021-12-22 17:26:28 +01:00
José Valim d06a4e3b00 Simplify context module handling 2021-12-22 12:47:13 +01:00
José Valim 4e5c5f2f70 Ensure context modules are handled in optimized defmodule 2021-12-22 12:19:02 +01:00
José Valim 13971d1291 Do not use type exclusive to Erlang/OTP 24+ 2021-12-22 10:17:15 +01:00
palexanderm ac9f084794 Fix failing doctest for String.replace/3 (#11515) 2021-12-22 09:24:41 +01:00
José Valim eacbe8578e Add a note about grapheme boundaries to replace 2021-12-21 20:50:04 +01:00
Eksperimental d65c93ba7a Fix minor spelling (#11513) 2021-12-21 09:10:13 +01:00
Eksperimental 5e57634f24 Link to page in current docs for current CHANGELOG (#11511) 2021-12-21 09:09:53 +01:00
Eksperimental 20342d0e27 Fix documentation errors found via ExDoc (#11512) 2021-12-21 09:09:23 +01:00
José Valim 69f8e64a34 for and with special forms expect at least one arg 2021-12-20 11:33:23 +01:00
Andrea Leopardi 6f062edae8 Add t:Enumerable.t/1 (#11510) 2021-12-20 10:16:34 +01:00
Eksperimental 8943bba15f Minor correction in TODO comment (#11508) 2021-12-20 08:27:07 +01:00
José Valim 74f98266a5 Delete as many files even on rm_rf failures (#11502)
This makes the behaviour consistent and it may
address an error on Windows triggered by
`not_owner` errors. Closes #11501.
2021-12-18 23:09:04 +01:00
José Valim 83cf42cae6 Add Code.env_for_eval/1 and Code.eval_quoted_with_env/3 2021-12-18 22:05:49 +01:00
José Valim 080528a308 Simplify contract between checker and compiler 2021-12-18 22:05:49 +01:00
Mackenzie df25a47a5e Make Base.decode16's odd-length message more helpful (#11500) 2021-12-18 10:26:52 +01:00
Willian Frantz ffcbd06d7f Remove double when on TODO comment (#11499) 2021-12-17 18:52:51 +01:00
Eksperimental 6e2a1bd7b4 Improve specs and docs in Macro.underscore/camelize (#11498) 2021-12-17 13:37:44 +01:00
Eksperimental 6c4ff48c3c Improve docs around String pattern functionality (#11492) 2021-12-16 23:18:19 +01:00
José Valim 8c2ec72875 Do not emit warnings on Cursor.Fragment.container_cursor_to_quoted/2 2021-12-16 16:13:39 +01:00
José Valim b77360812f Deprecate map/filter/reject in Map and Keyword 2021-12-16 15:33:11 +01:00
José Valim c428aa7cf0 Revert "Add MapSet.map/2, MapSet.filter/2, and MapSet.reject/2 (#11493)"
The map functionality already exists in MapSet.new/2
and the other cases are not necessarily common enough.

This reverts commit f9f691d913.
2021-12-16 15:22:33 +01:00
José Valim 3f23f696df Fix compatibility and deprecations 2021-12-16 15:21:39 +01:00
Eksperimental cedd15037d Use Enumerable.t() outside Enum module (#11494)
To be consistent with ed3b4aef2b
2021-12-16 15:21:28 +01:00
José Valim ed3b4aef2b Rename Enum.t to Enumerable.t for consistency 2021-12-16 13:19:39 +01:00
José Valim 543e57413e Clear up MapSet's collectable implementation 2021-12-16 11:20:29 +01:00
José Valim 348b0307e9 Update CHANGELOG 2021-12-16 11:15:22 +01:00
José Valim 2017bf2aea Add List.keysort/3 and performance notes to sort_by 2021-12-16 10:58:40 +01:00
palexanderm f9f691d913 Add MapSet.map/2, MapSet.filter/2, and MapSet.reject/2 (#11493) 2021-12-16 08:47:04 +01:00
José Valim 300d1ae0e7 Consider empty lists in String.split/3 and String.splitter/3 2021-12-16 08:46:46 +01:00
José Valim 71bb1eba9b Make starts_with? and ends_with? consistent 2021-12-16 08:39:51 +01:00
Suss Buzz cf9b85b264 Return the original string if the list of replace patterns is empty (#11488) 2021-12-16 08:37:08 +01:00
José Valim 5c2d79564d Add a note about chaining multiple map+filter calls 2021-12-14 22:01:18 +01:00
José Valim e0ecbbd8fc Add pattern to Code.Fragment.surround_context/3 2021-12-14 21:58:32 +01:00
José Valim 27125d62f6 Improve DateTime docs 2021-12-14 12:21:30 +01:00
Eksperimental 8fd2aa0041 Reduce one level of indirection in Enum.into implementation (#11481) 2021-12-13 21:01:25 +01:00