Marcus Kruse
a210e5832e
Handle empty string in System.shell ( #13331 )
2024-02-10 09:45:27 +01:00
Jean Klingler
e758fa1c6e
Rename "length" to "size" in binary_part/3 ( #13329 )
2024-02-09 13:47:57 +01:00
Brad Hanks
50fba3c776
Fix docs for Kernel.binary_part/3 ( #13328 )
2024-02-09 12:20:02 +01:00
Jean Klingler
1f1e341b1f
Fix <> match test ( #13327 )
2024-02-09 17:02:56 +09:00
Jean Klingler and José Valim
3fb82c3735
Update argument error message when matching with <> ( #13325 )
...
* Update argument error message when matching with <>
* Update lib/elixir/lib/kernel.ex
Co-authored-by: José Valim <jose.valim@gmail.com >
---------
Co-authored-by: José Valim <jose.valim@gmail.com >
2024-02-09 16:49:27 +09:00
José Valim
555eac76a1
Do not treat streaming errors as file errors, closes #13323
2024-02-08 16:57:43 +01:00
José Valim
9973a2eded
Remove typespec from default requires
2024-02-08 15:43:20 +01:00
José Valim
6655d40376
Streamline and document the parser
2024-02-07 15:06:48 +01:00
José Valim
d68c8d6cdd
Unify handling of .. and ...
2024-02-07 12:26:39 +01:00
José Valim
52eaf14561
Fix CI on map columns warnings
2024-02-06 13:54:46 +01:00
José Valim
8783d762e2
Fix CI on map columns
2024-02-06 13:49:42 +01:00
José Valim
d244eaf8be
Remove end_of_expression from ->, closes #13318
2024-02-06 13:46:46 +01:00
José Valim
ef0ce41d4d
Remove unecessary line in code normalizer
2024-02-06 13:25:01 +01:00
José Valim
fd4e6b530c
Fix column marker for maps
2024-02-05 15:13:31 +01:00
Mitchell Hanberg
eb1499ac29
Include from_brackets metadata in all cases ( #13317 )
2024-02-05 09:40:16 +01:00
Steve Johns
cd12b15238
Clarify "shorthands" in type specifications ( #13311 )
2024-02-01 20:13:17 +01:00
felipe stival
1f7d18e005
Fix typo and wording in Config docs ( #13312 )
2024-02-01 19:29:21 +01:00
José Valim
ecfc82ce63
Preserve . semantics in Path.relative_to, closes #13310
2024-02-01 12:41:21 +01:00
Marcelo Dominguez
760ce06539
Add more examples in DateTime.diff docs ( #13308 )
2024-01-31 14:10:06 +01:00
Jean Klingler and Andrea Leopardi
3b5bd6853c
Add @type async_stream_option to Task and Task.Supervisor ( #13306 )
...
* Add @type async_stream_option to Task and Task.Supervisor
* Update lib/elixir/lib/task.ex
* Update lib/elixir/lib/task/supervisor.ex
---------
Co-authored-by: Andrea Leopardi <an.leopardi@gmail.com >
2024-01-31 20:01:54 +09:00
Jean Klingler
c54ff0e25d
Validate options in async_stream* functions ( #13289 )
2024-01-31 19:56:47 +09:00
José Valim
00d2be5af7
Fix error message 'a guards', closes #13296
2024-01-30 20:07:38 +01:00
Steve Johns
b705597dda
docs: fix grammar errors in syntax reference docs ( #13302 )
2024-01-30 14:49:34 +01:00
Jean Klingler
0b95ca45c2
Translate with/1 as a closure ( #13299 )
...
* Translate with/1 as a closure
* Emit leaner code on with var <-
2024-01-30 21:26:39 +09: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
José Valim
92db97eab2
Revert "Fix some broken links in the guides ( #13297 )"
...
This reverts commit 96110c84c1 .
2024-01-29 17:47:49 +01:00
shionryuu
96110c84c1
Fix some broken links in the guides ( #13297 )
2024-01-29 17:05:18 +01:00
Wojtek Mach
3c8a005a03
Default defimpl to @moduledoc false ( #13295 )
2024-01-29 16:33:39 +01:00
Colin Caine
f5cbd03f56
docs: minor simplification of anti-patterns page ( #13293 )
2024-01-29 08:23:07 +01:00
Steve Johns
810140b86b
Fix string interpolation example in basic-types.md ( #13292 )
2024-01-28 18:07:38 +01:00
José Valim
5c45ea6fed
Fix docs link
...
Related to #13284 .
2024-01-27 11:46:21 +01:00
Jean Klingler and José Valim
a75371ad18
Make c/e/fprof clickable links in doc ( #13290 )
...
* Make c/e/fprof clickable links in doc
* Update lib/elixir/pages/getting-started/debugging.md
Co-authored-by: José Valim <jose.valim@gmail.com >
* Fix links
---------
Co-authored-by: José Valim <jose.valim@gmail.com >
2024-01-27 18:00:05 +09:00
Łukasz Samson
0d6c2a2ab5
Fix CaseClauseError in Code.fetch_docs ( #13286 )
2024-01-26 14:57:56 +01:00
Łukasz Samson
da4107bd34
Document new parser exception ( #13287 )
2024-01-26 14:02:38 +01:00
Jean Klingler and Andrea Leopardi
2d50a3612b
Document the behavior of async_stream_nolink ( #13285 )
...
* Document the behavior of async_stream_nolink
* Apply suggestions from code review
Co-authored-by: Andrea Leopardi <an.leopardi@gmail.com >
* Fix format
---------
Co-authored-by: Andrea Leopardi <an.leopardi@gmail.com >
2024-01-26 21:27:03 +09:00
Guillaume Duboc
035ff54365
Add atom singleton types to descr ( #13277 )
...
The :atom field now contains a representation for all possible
atom types. The representation is a pair `{type, set}` where `set`
is a set of atoms. If `type` is `:union` it represents the union
of the atoms in `set`. If `:negation` it represents every atom
except those in `set`.
`boolean()` is defined as the singletons true, false.
2024-01-25 09:43:57 +01:00
Ben Swift
f7b17e6e2f
Fix typo in Typespecs reference ( #13282 )
2024-01-25 08:59:33 +01:00
Gonzalo
75ac733bb5
docs: minor wording and typo fixes ( #13281 )
2024-01-24 16:25:10 +01:00
José Valim
4506074acf
Improve docs, closes #13279
2024-01-24 12:28:32 +01:00
Panagiotis Nezis
35dc65d23c
Improve Path.expand/1 docs ( #13276 )
2024-01-23 20:16:42 +01:00
Michał Łępicki
b66c7c0e74
Improve wording in iex -S mix test --trace doc ( #13272 )
...
avoid -> prevents
2024-01-21 13:35:32 +01:00
José Valim
91de7e13b5
Add logo to docs
2024-01-21 11:12:04 +01:00
José Valim
97caaa56ab
More docs to debug projects
2024-01-21 09:18:27 +01:00
Jean Klingler
991baf9e88
Fix typespec and doc for String.byte_slice/3 ( #13270 )
2024-01-20 17:36:47 +09:00
José Valim
d3285b176e
Fix capitalize for single codepoint ( #13268 )
2024-01-19 19:42:55 +01:00
José Valim
f14bcdcac9
Update docs, distinguish truncated/invalid
2024-01-18 16:26:40 +01:00
José Valim
1a36b68075
Add String.byte_slice/3
2024-01-18 16:16:00 +01:00
José Valim
0da0b2899e
Ensure the compiler is notified immediately after async
2024-01-18 15:52:58 +01:00
José Valim
9a2fb13621
Bring next_grapheme_size back
...
We should have a cheaper mechanism for computing
grapheme size without instantiating intermediate
binaries.
2024-01-18 15:52:58 +01:00
José Valim
55cd5a4a22
Revert "Do not escape \ in uppercase sigils, closes #8989 "
...
This reverts commit 51d23cbba8
due to a regression.
Closes #13262 .
2024-01-17 23:28:21 +01:00