For anyone who wants something like this for Elixir, there is an open source hex package: https://hex.pm/packages/ex_slop