Last active
February 17, 2016 10:08
-
-
Save ak-ymst/3e3cfd619e9aa2cefe65 to your computer and use it in GitHub Desktop.
hello.ex
This file contains 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 Hello do | |
def world do | |
IO.puts "Hello world from function" | |
end | |
end | |
Hello.world | |
IO.puts "Hello world from inline" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment