Commit Graph
450 Commits
Author SHA1 Message Date
Jean Klingler 51c2cbff03 Cheatsheet small fixes (#12884) 2023-08-22 23:43:10 +09:00
Jean Klingler a406527510 Mention patter-filtering in comprehensions (#12883) 2023-08-22 22:49:24 +09:00
Po Chen 38a7c77786 Fix with_index/2 example (#12882) 2023-08-22 12:41:52 +02:00
José Valim 682b6d5b21 Add comprehension examples 2023-08-22 11:29:37 +02:00
Po Chen 3b92c0d5a2 Fix map_reduce result (#12881) 2023-08-22 11:27:06 +02:00
José Valim fddb26d43e Add more examples to filtering 2023-08-22 11:01:25 +02:00
José Valim 47d3a18615 Add remaining functions to Enum cheatsheet 2023-08-22 10:55:45 +02:00
José Valim 997d92575b Fix links, add pending images 2023-08-21 14:44:49 +02:00
José Valim 379f38e64e Add Enum cheatsheet 2023-08-21 13:16:59 +02:00
José Valim 9b9ce35894 Move additional remarks to header 2023-08-21 13:16:59 +02:00
Lucas Francisco da Matta Vegi 26d9b44478 "Long parameter list" added (Anti-patterns documentation) (#12875) 2023-08-20 20:56:07 +02:00
Jean Klingler 3f930b4a92 Update other undefined variable errors in docs (#12876) 2023-08-20 15:17:49 +09:00
José Valim b87b0a6e86 Fixes to guides and diagrams 2023-08-19 12:06:54 +02:00
Jean Klingler 6b1208b035 Minor typo in guide (#12873) 2023-08-18 21:58:09 +09:00
Lucas Francisco da Matta Vegi a720c37c20 "Speculative assumptions" added (Anti-patterns documentation) (#12868) 2023-08-18 11:59:31 +02:00
José Valim cb3725234b More fixes, add disclaimer 2023-08-18 00:58:02 +02:00
José Valim 4e76929e59 More renames to avoid ambiguity 2023-08-18 00:35:36 +02:00
José Valim 22856a95bf More touch ups on Mix and OTP 2023-08-17 23:59:22 +02:00
José Valim 900cdd0f1f Touch ups on Mix & OTP guide 2023-08-17 23:56:34 +02:00
José Valim 6151e30874 Rename guides to avoid conflicts 2023-08-17 22:44:18 +02:00
José Valim f7e33c70c8 Add Mermaid diagram to GenServer 2023-08-17 21:46:10 +02:00
Lucas Francisco da Matta Vegi 93dc98946b "Dynamic atom creation" added (Anti-patterns documentation) (#12804) 2023-08-16 09:17:04 +02:00
Nic Nilov 43681f670d Maps AST representation docs fix (#12863) 2023-08-15 14:43:57 +02:00
José Valim e0d04e1ffe Warn on nullary remote calls, related to #9510 2023-08-15 10:30:57 +02:00
Uwe Krause 0c2b763d02 Add hint to needed dependencies for observer (#12861) 2023-08-15 09:15:54 +02:00
José Valim 52158d7de3 More docs for maps/keywords 2023-08-14 12:58:44 +02:00
José Valim ec2733611b Add :observer.start at the end 2023-08-14 12:43:00 +02:00
José Valim 63fc8b6b9e Improve lists and tuples guides with more and simpler examples 2023-08-12 23:04:30 +02:00
José Valim 415bc8714b Bring String.capitalize/2 back 2023-08-12 22:08:46 +02:00
magashpillay 284f0b2501 Fix code block in Markdown guides (#12852) 2023-08-10 10:40:56 +02:00
José Valim 76a92b5a80 Deprecate String.capitalize/2 in favor of :string.titlecase/1
When capitalize/2 was written, Erlang did not provide titlecase
functions. capitalize/2 also downcases the rest of the string
while Erlang doesn't, which is a common contention point.

Given our titlecase implementation requires 40kb of additional
code in .beam files, it makes sense to unify it with Erlang's
(which we have already done for most non-critical functionality
in unicode).
2023-08-09 16:15:41 +02:00
magashpillay dced276114 Update binaries-strings-and-charlists.md (#12850) 2023-08-09 10:22:05 +02:00
Panagiotis Nezis 33be0abbf4 Fix misc typos (#12844) 2023-08-07 11:37:03 +02:00
Artem Solomatin a6439f42ef Fix typo (#12835) 2023-08-04 18:07:38 +02:00
Florent Guilleux a1112fe895 Explain why functions returns extra information with tuples (#12824)
Currently the guide says

> One very common use case for tuples is to use them to return extra information from a function.

but I find it does not explicitly say why.
2023-07-28 09:05:52 +02:00
José Valim 2904713b04 Remove backticks around Map 2023-07-17 18:03:46 +02:00
Lucas Francisco da Matta Vegi 675d001e62 More Code-related anti-patterns added (Documentation) (#12790) 2023-07-16 20:19:39 +02:00
Thibaut Barrère 5a5947c2d9 Clarify upgrade path for Regex.regex? (#12785) (#12786) 2023-07-12 18:04:35 +02:00
José Valim 01d11af42c Return :error tagged tuple 2023-07-12 16:06:54 +02:00
José Valim d34e68e1b0 Fix typos 2023-07-12 16:05:27 +02:00
José Valim c0ea321446 Adjustments to anti-patterns 2023-07-12 15:39:33 +02:00
Lucas Francisco da Matta Vegi a2a6379034 Code-related anti-patterns added (Documentation) (#12776) 2023-07-12 15:14:07 +02:00
Artem Solomatin 23793ee669 Fix typos and close brackets (#12783) 2023-07-12 00:08:17 +02:00
Artem Solomatin 43b423c61c Fix deprecations link for elixir 1.15 (#12781) 2023-07-11 23:18:59 +02:00
Artem Solomatin 289f4e1da8 Fix link in macros guide (#12780) 2023-07-11 21:33:02 +02:00
Andrea Leopardi 32cd48b398 Lint Markdown guides (#12775) 2023-07-10 11:45:01 +02:00
Andrea Leopardi 15ce8706e2 Fix many small typos 2023-07-09 16:23:18 +02:00
Andrea Leopardi c1f8bae16a Fix spelling of "file system" 2023-07-09 16:12:48 +02:00
Andrea Leopardi dd295f4bc7 Fix spelling of "hard-coded" 2023-07-09 16:08:12 +02:00
Andrea Leopardi 51a9977b79 Move "Introduction to Mix" guide here (#12774) 2023-07-09 16:07:24 +02:00