Elixir Access behaviour
TIL
Access supports keyword lists (Keyword) and maps (Map) out of the box, but not structs.
There is a reason why Elixir does not implement Access behaviour for structs.
Perfer data.key for accessing predefined atom keys of map or struct.
Access be...
blog.mnishiguchi.com2 min read