Morphix 0.0.4 -- now with `:safe` atomorphifification!
Morphix is a tiny library of utility functions for working with enumerable objects.
The atomorphify
and atomorphiform
functions will convert the string keys of a map into atoms. This worries some people because atoms are never garbage collected, so both methods now take a :safe
flag that will prevent them from creating new atoms.
Usefull for partial application of a structure over a large JSON message – only atomize the strings you know you want to access, but keep the whole object.