Morphix v0.2.0 released, now with even better atomorphification!
Morphix is a small library of convenience methods for transforming Enumerables.
atomorphify/atomorphiform methods convert string keys to atom keys in a map. Some improvements have been made:
-
Added
atomorphify(map, list) :: {:ok, map}
The returned map will have strings inlist
at the top level ofmap
converted to atoms. -
Added
atomorphiform(map, list)::{:ok, map}
The returned map will have strings inlist
at any level ofmap
converted to atoms.
added !
versions of the above methods and all other methods in the atomorphif*
group, which return the transformed map alone. This is much more useful when using these methods in a pipeline.
Read next Alchemist Camp L9: Game state machine