Designing scalable application with Elixir: from umbrella project to distributed system Alchemist Camp L9: Game state machine

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