Skip to content

Instantly share code, notes, and snippets.

@JakubOboza
Created May 26, 2013 18:30
Show Gist options
  • Save JakubOboza/5653626 to your computer and use it in GitHub Desktop.
Save JakubOboza/5653626 to your computer and use it in GitHub Desktop.
defmodule Hello do
def world do
IO.puts "Hello World"
end
end
-module(hello).
-export(compile_all).
world() ->
io:format("Hello World").
Enum.map([1,2,3], fn(x) -> x * 2 end)
lists:map([1,2,3], fun(X) -> X*2 end).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment