Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@marcelog
Created October 9, 2017 20:42
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 marcelog/47b0b469faa3a8bbaa17b85115d29488 to your computer and use it in GitHub Desktop.
Save marcelog/47b0b469faa3a8bbaa17b85115d29488 to your computer and use it in GitHub Desktop.
A sample Erlang module
-module(test).
-export([my_fun/1]).
my_fun(X) ->
my_other_fun(X) + 1.
my_other_fun(X) ->
X + 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment