The idea that code needs to be distributed in libraries rather than functions is limiting, especially for these little independent functions. I've always liked this proposal from the creator of Erlang, but afaict it never went anywhere: <a href="http://erlang.org/pipermail/erlang-questions/2011-May/058768.html" rel="nofollow">http://erlang.org/pipermail/erlang-questions/2011-May/058768...</a>