Last active
April 4, 2017 22:08
-
-
Save iain17/3ce123d0ebe29ef5aaf36be57970aa30 to your computer and use it in GitHub Desktop.
Erlang file example
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
% Defines the basic module | |
-module(basic). | |
% Expose the example/1 function through the module | |
-export([example/1]). | |
% Defines the actual mirror function, which returns the first argument | |
example(Anything) -> Anything. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment