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 inlistat the top level ofmapconverted to atoms. -
Added
atomorphiform(map, list)::{:ok, map}The returned map will have strings inlistat any level ofmapconverted 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
