Elixir ▷ Max@mxgrn.com27 Jan 2025TIL: You can define fetch/2 in your struct-defining module and have it return anything you want for the [] operator: #ElixirLang2117
Norbert Melzer@nobbz.dev27 Jan 2025This is due to the access behaviour. hexdocs.pm/elixir/Acces...hexdocs.pmAccess — Elixir v1.18.216