Skip to content

Instantly share code, notes, and snippets.

@marcelog
Created October 9, 2017 20:41
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/dd9874ce4969f68e19d6ac60b06fb5a2 to your computer and use it in GitHub Desktop.
Save marcelog/dd9874ce4969f68e19d6ac60b06fb5a2 to your computer and use it in GitHub Desktop.
Running the sample erlang module
$ erlc test.erl
$ ls -las test*
8 -rw-r--r-- 1 marcelog wheel 536 Oct 9 17:40 test.beam
8 -rw-r--r-- 1 marcelog wheel 104 Oct 9 17:40 test.erl
$ erl
Erlang/OTP 19 [erts-8.0] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]
Eshell V8.0 (abort with ^G)
1> test:my_fun(1).
3
2>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment