Skip to content

Instantly share code, notes, and snippets.

@iain17
Last active April 4, 2017 22:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iain17/3ce123d0ebe29ef5aaf36be57970aa30 to your computer and use it in GitHub Desktop.
Save iain17/3ce123d0ebe29ef5aaf36be57970aa30 to your computer and use it in GitHub Desktop.
Erlang file example
% 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