Skip to content

Instantly share code, notes, and snippets.

@bunnymatic
Created December 11, 2017 02:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bunnymatic/539752a7c73d0793c2c2e13740c720e4 to your computer and use it in GitHub Desktop.
Save bunnymatic/539752a7c73d0793c2c2e13740c720e4 to your computer and use it in GitHub Desktop.
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