Elixir
Elixir Core Team
1. Enhancements
Elixir
- [Code] Add
:emit_warningsforCode.string_to_quoted/2 - [File] Add
:offsetoption toFile.stream!/2 - [Kernel] Auto infer size of matched variable in bitstrings
- [Kernel] Preserve column information when translating typespecs
- [String] Add
String.replace_invalid/2
Logger
- [Logger] Add
Logger.levels/0
Mix
- [mix archive.install] Support
--sparseoption - [mix compile.app] Warn if both
:applicationsand:extra_applicationsare used - [mix compile.elixir] Pass original exception down to diagnostic
:detailswhen possible - [mix deps.clean] Emit a warning instead of crashing when a dependency cannot be removed
- [mix escript.install] Support
--sparseoption - [mix release] Include
include/directory in releases
2. Bug fixes
Elixir
- [Code] Keep quotes for atom keys in formatter
- [Macro] Address exception on
Macro.to_string/1for certain ASTs - [Module] Make sure file and position information is included in several module warnings (regression)
- [Path] Lazily evaluate
File.cwd!/0inPath.expand/1andPath.absname/1
IEx
- [IEx.Pry] Fix prying functions with only literals in their body
Mix
- [mix archive.install] Restore code paths after archive.install
- [mix escript.install] Restore code paths after escript.install
Trending in News
Other Trending Topics
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hobbes is a low-level distributed database for the Elixir programming language.
Hobbes provides a simple, safe, and scalable storage lay...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve.
They are GUI (Emerge) and State management (S...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #blog-post
- #elixirconf-us
- #elixir-ls
- #ai
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming











Showing Posts 1 to 6- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
LostKobrakai
This will be really nice the next time I need that
christhekeele
Looks like
Enum.randomgot a cool speedup too, I enjoyed learning more about this technique: Implement Algorithm L for Reservoir Sampling in Enum · elixir-lang/elixir@8e9cbfc · GitHublud
I am not sure what it means. It is when matching a known variable with
^?LostKobrakai
Within the context of a binary pattern, yes: Automatically compute size for <<^var::binary>> · Issue #13089 · elixir-lang/elixir · GitHub
lud
Alright thanks. Nice one indeed
sabiwara
Small precision: it works with the
<>shorthand too (used to raise anArgumentError):