Last active
December 4, 2020 05:41
-
-
Save blt/0ef21c1f04fc867cd24b to your computer and use it in GitHub Desktop.
What should be the standard Erlang "Hello, world!"
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
-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