This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

arcanemachine
Just wondering since the knowledge cutoff for LLMs is about a year or so behind the current date. It would be nice if the models were ab...
New
chocolatedonut
Will, or should, Elixir 1.20 types warn when a struct is in a list and a struct’s key is mistyped? Only the uncommented Enum.reject line ...
New

Last Three Year's Trending Top

matthias_toepp
I’m new to Elixir…having looked into languages like Haskell, Elm, and Gleam, I’m wondering if Elixir’s new type system will permit sum ty...
New
jakespracher
I am working on a few new elixir projects and am finding I want to encode more type information than vanilla elixir syntax allows as I un...
New
bartblast
Why comparing atoms gives typing violation warning? consider: defmodule MyModule do def test do :a < :b end end mix compile...
New
tcoopman
I have a test like this: conn = conn |> put_req_header("content-type", "invalid") |> put_req_header("x-auth-...
New
VictorGaiva
I’m currently migrating my codebase to Elixir 1.18.2. I was able to solve all the typing issues, except for one. The following code: def...
New

Trending Over Three Years Top

Fl4m3Ph03n1x
Background In a post I made about having static types in Elixir, someone mentioned the tool Gradualizer. This came as a surprise to me, a...
New
Fl4m3Ph03n1x
Background I am trying out polymorphic typing with dialyzer. As an example I am using the famous Option type (aka, Maybe Monad) that is n...
New
jwinnie
Elixir is a great language, but its lack of static types is a major drawback for me. Dialyzer seems like a good way to fix this issue, b...
New
Fl4m3Ph03n1x
Background I few days ago I was checking some code from a co-worker and I was drawn to his usage of spec: @spec hello(String.t(), String...
New
Fl4m3Ph03n1x
Code Let’s say I have a function that returns a map. This function can have 0 and 1 arity: @spec new_game(String.t) :: map def new_g...
New
Fl4m3Ph03n1x
Background I am now trying Gradual type checking, as a consequence I am giving a shot to Gradient. As I see it, this is an alternative to...
New
vans163
I am wondering if this is correct, this should be a map of arbitrary size (could be 0, could be 1000) of integer keys. @type quests() ::...
New
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement