<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: sabiwara</title><link>https://news.ycombinator.com/user?id=sabiwara</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Fri, 05 Jun 2026 03:08:57 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=sabiwara" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by sabiwara in "Elixir v1.20: Now a gradually typed language"]]></title><description><![CDATA[
<p>> Does Dialyzer understand Elixir? Last I knew, it could only process Erlang source code and BEAM files.<p>Once compiled, it boils down to BEAM files that Dialyzer can understand, yes.
And the [Dialyxir](<a href="https://dialyxir.hexdocs.pm" rel="nofollow">https://dialyxir.hexdocs.pm</a>) wrapper helps translating error messages in Elixir.
But, there is a significant limitation compared to plain Erlang: Elixir protocols (which are quite used in core parts of the language) are not an Erlang construct, so Dialyzer will be clueless about them, just accepting any term. Enum.map(nil, & &foo/1) or to_string(%{}) will be invisible to it.</p>
]]></description><pubDate>Thu, 04 Jun 2026 10:02:16 +0000</pubDate><link>https://news.ycombinator.com/item?id=48396405</link><dc:creator>sabiwara</dc:creator><comments>https://news.ycombinator.com/item?id=48396405</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48396405</guid></item><item><title><![CDATA[New comment by sabiwara in "Elixir v1.16 Released"]]></title><description><![CDATA[
<p>It is listed in the release notes as "[Kernel] Auto infer size of matched variable in bitstrings".
You can now just match on `^var <> rest` or `<<^var::binary, rest::binary>>` without having to explicitly pass the size: `<<^var::binary-size(byte_size(^var)), rest::binary>>`.
You can find more examples in the PR <a href="https://github.com/elixir-lang/elixir/pull/13106">https://github.com/elixir-lang/elixir/pull/13106</a>.</p>
]]></description><pubDate>Sun, 24 Dec 2023 00:00:30 +0000</pubDate><link>https://news.ycombinator.com/item?id=38749544</link><dc:creator>sabiwara</dc:creator><comments>https://news.ycombinator.com/item?id=38749544</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38749544</guid></item></channel></rss>