Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Elixir Inspector
defmodule Inspector do
def inspector(v,s), do: (IO.puts("[#{s}] #{inspect(v)}"); v)
def inspector(v), do: (IO.puts("[check] #{inspect(v)}"); v)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment