Created
October 9, 2017 20:41
-
-
Save marcelog/dd9874ce4969f68e19d6ac60b06fb5a2 to your computer and use it in GitHub Desktop.
Running the sample erlang module
This file contains hidden or 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
$ 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