This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

ffloyd
The Problem Currently, if I define a struct in the following way: defmodule MyStruct do # Both x and y will have the FIXED values unti...
New
cevado
I was reading the EEP-79, and thinking about the poor record support in Elixir(i’ve tried to discuss about that in the forum before). I s...
New

Last Three Year's Trending Top

Trending Over Three Years Top

ilya-kolpakov
I think the behavior of pattern matching on null-valued pairs within structs is surprising: iex(6)> defmodule A do defstruct [:a, :b]...
New
ilya-kolpakov
Suppose one wants to have a bunch of structs that represent API requests. Requests have parameters and it should be possible to validate ...
New
ilya-kolpakov
By defining a struct one guarantees that the instances’ keys are exactly those provided in the definition. By including a key within the ...
New
IvanR
It was an elegant “Eventsourcing and CQRS in Elixir” talk given by @vasspilka at ElixirConf EU 2021. It shows how to use the Commanded l...
New
smolcatgirl
Hi, I think it would be cool to be able to require a certain type for my fields when I create structs. Like specifying one field should ...
New
Qqwy
Elixir allows you to define your own data-structures as structs, on top of Erlang maps. However, such user-defined types have always felt...
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