Create a gist now

Instantly share code, notes, and snippets.

@blt /hello.erl
Last active Mar 12, 2017

What would you like to do?
What should be the standard Erlang "Hello, world!"
-module(hello).
-export([hello/1]).
hello(robert) ->
io:format("Hello, Mike.");
hello(joe) ->
io:format("Hello, Robert.");
hello(mike) ->
io:format("Hello, Joe.").
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment