Latest #access Threads Top

user20230119
I want to use get_in(data, keys) for a nested map with some values having a list with maps. map = %{a: 1, aa: [%{b: 2}, %{bb: 22}], aaa:...
New
7rans
I implemented Access behavior for a struct today. Pseudo-code… defmodule MyStruct do defstruct data: %{} @behaviour Access # ... ...
New
codeanpeace
Hello, I’m looking to dry up some LiveView handle_info/event callbacks that require modifying a nested data structure using update_in/3 i...
New
Rory
Hi, Been lurking here for a while (that is, via google), gotten a lot of help from people’s Q&As in the past, but I’ve gotten stuck ...
New
hst337
Hi there, I’ve been working on a Pathex library for quite a while now, and I’ve finally managed to create a release which is able to cov...
New
dredison
Hi, So I’m new to Elixir and I’m struggling with a recursion question. I have a tree structure (of structs, with ordered lists of child...
New
rm-rf-etc
I’m creating a custom type and I need to define original logic for the square bracket operator. How do I go about doing this? Do I use de...
New
fireproofsocks
I stumbled across the desire to want to use get_in while accessing deeply nested parts of a custom struct while needing to provide a defa...
New
saverio-kantox
In a project I’m working in, I have to create a boatload of different structs, each containing a list of different types of objects. Thin...
New
mxst
Hey everyone. I’m trying to use my own struct (as a extension of map) in my code but I would really love to use the Methods from the Acce...
New

This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

Last Three Year's Trending Top

hst337
Hi there, I’ve been working on a Pathex library for quite a while now, and I’ve finally managed to create a release which is able to cov...
New
fireproofsocks
I stumbled across the desire to want to use get_in while accessing deeply nested parts of a custom struct while needing to provide a defa...
New
7rans
I implemented Access behavior for a struct today. Pseudo-code… defmodule MyStruct do defstruct data: %{} @behaviour Access # ... ...
New
user20230119
I want to use get_in(data, keys) for a nested map with some values having a list with maps. map = %{a: 1, aa: [%{b: 2}, %{bb: 22}], aaa:...
New

Trending Over Three Years Top

Qqwy
Original source of discussion: This topic on the Pragmatic Programmers' Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
Qqwy
I would like to spark a discussion about the static access operator: .. For whom does not know: it is used in Elixir to access fields of...
New
mxst
Hey everyone. I’m trying to use my own struct (as a extension of map) in my code but I would really love to use the Methods from the Acce...
New
rm-rf-etc
I’m creating a custom type and I need to define original logic for the square bracket operator. How do I go about doing this? Do I use de...
New
Rory
Hi, Been lurking here for a while (that is, via google), gotten a lot of help from people’s Q&As in the past, but I’ve gotten stuck ...
New
auua
Hi guys! I’ve been learning some elixir following Dave’s Programming Elixir 1.6 and I’m lovin it! I just came across Access.pop/2 and no...
New
dredison
Hi, So I’m new to Elixir and I’m struggling with a recursion question. I have a tree structure (of structs, with ordered lists of child...
New
saverio-kantox
In a project I’m working in, I have to create a boatload of different structs, each containing a list of different types of objects. Thin...
New
tsutsu
get_in and its related lensing macros have the “default” or “built-in” behavior (for Map keys, the only thing they support by default) of...
New
codeanpeace
Hello, I’m looking to dry up some LiveView handle_info/event callbacks that require modifying a nested data structure using update_in/3 i...
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