Skip to content

Instantly share code, notes, and snippets.

@HashNuke
Created June 13, 2015 17: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 HashNuke/09b9a094b0c4095515c9 to your computer and use it in GitHub Desktop.
Save HashNuke/09b9a094b0c4095515c9 to your computer and use it in GitHub Desktop.
defmodule Tryout do
def hello(name \\ "akash")
def hello(name) do
IO.puts name
end
end
Tryout.hello #=> akash
Tryout.hello("nuke") #=> nuke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment