Created
June 13, 2015 17:12
-
-
Save HashNuke/09b9a094b0c4095515c9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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