I’m still trying to get used to all the different ways of using pattern matching. That way of updating a map looks odd n not very intuitive (to those new to Elixir). Using the pipe to split a list into head|tail I got that right away, but not this…
%{data | id: 100}
To be honest that has been one of the difficult things to learn in Elixir syntax. All the different uses of the pipe and arrows pointing in different directions for different constructs.






















