Albin Kocheril Chacko
2539f85355
Fix a typo in the docs ( #13937 )
2024-10-29 15:24:41 +01:00
Ellyse
5bbe055037
Updates to keywords_and_maps documentation ( #13935 )
2024-10-29 00:34:53 +01:00
José Valim
d133c704ac
Improvements to documentation chapter
2024-10-28 22:46:54 +01:00
newton
139f96c84e
Fix typo on new updated docs ( #13934 )
2024-10-28 22:29:23 +01:00
José Valim
c5cae45963
More updates to keywords and maps
2024-10-28 17:25:48 +01:00
José Valim
31e5f5ba1e
Simplifying keywords and guards
2024-10-28 17:21:45 +01:00
José Valim
bd254aa815
Simplify IO and file system chapter
2024-10-28 17:02:44 +01:00
José Valim
6740246636
Simplify streams examples
2024-10-28 16:50:03 +01:00
José Valim
db0e336eae
Improvements to recursion guide
2024-10-28 16:38:52 +01:00
José Valim
5f5961284e
Improvements to modules and functions guides
2024-10-28 16:31:32 +01:00
José Valim
5d6648b10a
Improve introduction to capture syntax shorthand
2024-10-28 16:05:04 +01:00
José Valim
7f64c51fa3
Improvements to cond introduction
2024-10-28 14:54:35 +01:00
Ahmed Kamal
bd899cc399
Reword some docs in the getting started guide ( #13888 )
2024-10-10 20:40:04 +02:00
Jean Klingler
2551fbd1a7
Move fun/arity explanation later in getting started ( #13890 )
2024-10-08 21:24:16 +09:00
Jean Klingler
39d1ecb499
Various small improvements in guides and docs ( #13887 )
2024-10-08 18:05:38 +09:00
Jean Klingler
fb31253a8f
Consistently use links without arities in getting started first pages ( #13885 )
2024-10-08 07:02:55 +09:00
Ahmed Kamal
290ad65ddf
docs: add arity to macro reference of def/2 and defmodule/2 ( #13882 )
2024-10-07 11:57:38 +02:00
Jean Klingler
49979d241b
Fix signature of trunc/1 in guide ( #13883 )
2024-10-07 15:58:41 +09:00
Ahmed Kamal
6c5502b589
Fix a typo in the docs ( #13879 )
2024-10-05 16:53:10 +02:00
Jean Klingler
13cab5f801
Remove mentions to unless/2 in guides ( #13852 )
2024-09-22 23:05:23 +09:00
Łukasz Jan Niemier
05d9735121
Docs: add link to capture syntax ( #13828 )
...
This should provide a link for a reader to investigate more about that
new syntax shown in the example.
2024-09-15 20:42:53 +02:00
Rudolf Manusadzhian
ad97f93108
Add a rule of thumb ( #13813 )
...
A rule of thumb when to prefer using `and`, `or` and `not` over `&&`, `||` and `!`
2024-09-06 21:58:19 +02:00
sarayourfriend
00f26629da
Fix a few more minor typos ( #13801 )
2024-08-31 20:18:46 +02:00
sarayourfriend
31f3a74a2d
Fix missing sentence subject ( #13800 )
...
Thanks for the excellent docs, I am having a great time learning Elixir. Just noticed a small typo 🙂
Cheers.
2024-08-31 12:01:55 +09:00
erikosmond
f2f4f3a621
Add doc to explain return value with after clauses ( #13783 )
2024-08-18 23:49:09 +02:00
Steven C. Buttgereit
19057692cf
Clarify map key ordering functionality in docs ( #13764 )
2024-08-09 15:07:19 +02:00
José Valim
1e0559e9ed
Clarify charlists intro, closes #13663
2024-06-14 17:34:16 +02:00
José Valim
c911466bbb
Provide references on structs for more information, closes #13664
2024-06-14 17:31:22 +02:00
José Valim
54b3736eac
Remove --werl support
2024-05-24 12:46:21 +02:00
Andrew Zipperer
4b5ed57c2c
Improve phrasing on keywords-and-maps.md ( #13586 )
2024-05-22 13:25:46 +02:00
Tobias Pfeiffer
fb3db59f7c
Add use to the title of guide that introduces it ( #13559 )
2024-05-20 16:26:55 +02:00
José Valim
93a1dba83a
Fix linting, deepen the pros
2024-05-18 00:02:50 +02:00
José Valim
004308fb39
Provide guidelines around control flow
2024-05-17 20:07:59 +02:00
Bryan Paxton
496cb2c892
Add support for sigils containing integers ( #13448 )
2024-05-17 12:40:02 +02:00
José Valim
19d3aeedf7
Mention module attributes as compile-time constants
2024-05-15 11:35:05 +02:00
王恒
ed4cc33e11
Add warning prompt for File write operations ( #13557 )
2024-05-14 09:17:06 +02:00
Theodor Fiedler
a206284bb2
Fix random typos ( #13543 )
2024-05-07 13:23:46 +02:00
Theodor Fiedler
d884cbc3ca
Fix random typos ( #13540 )
2024-05-06 11:55:48 +02:00
José Valim
80a20d20bb
More improvements to module attributes guides
2024-05-02 10:29:20 +02:00
José Valim
00818b6045
More clarifications to module attributes as constants
2024-05-02 01:17:16 +02:00
José Valim
813c5aaba2
Update docs for module attributes
...
It is not necessary to push module attributes as a mechanism
for constants. In fact, regular functions are a better default
for constants in the majority of the cases.
2024-04-27 21:52:09 +02:00
Nathan Long
388b69ee7a
Expand description of how catch works ( #13501 )
2024-04-20 22:01:17 +02:00
wiehann
6138838ff8
Fix sentence in basic-types documentation ( #13450 )
2024-03-28 19:43:39 +01:00
June Kelly
2d38526bde
Fix typo: remove stray '_' from front of 'unexpected' ( #13403 )
2024-03-09 20:49:02 +01:00
José Valim
966a73532a
Consistent use of the word guide in docs
2024-03-06 20:57:45 +01:00
José Valim
dd13c508e8
Add mix test --breakpoints
2024-02-29 14:48:54 +01:00
Artem Solomatin
d9005ebdca
Add example and update links in debugging doc ( #13376 )
2024-02-29 00:23:43 +01:00
José Valim
9dcdc1a5b2
Add get_in/1 with safe nil-handling for access and structs ( #13370 )
2024-02-27 08:04:36 +01:00
Cameron Duley
c1b54c6125
Add callout to full bitstring reference in the getting started guide ( #13360 )
2024-02-22 08:51:34 +01:00
Steve Johns
5e13403068
Add explicit clarification that values like 0 and "" are truthy in Elixir ( #13300 )
2024-01-30 09:57:29 +01:00