atomic_map
atomic_map copied to clipboard
A small utility to convert deep Elixir maps with mixed string/atom keys to atom-only keyed maps.
based on the `Macro.underscore/1` implementation, but with few changes
And here I want to add a feature on top of underscore. I added a macro called `replace/2` - `replace(regex, replacement)` into the module `AtomicMap.Base`. Use case: ```elixir defmodule Test...
I decided to use protocol, the performance is slightly faster.
I'm thinking it would be convenient to have a base which we can use to expand. And have the ability to customise opts, instead of using the default one. Example:...