Skip to content

Commit

Permalink
added erlang
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsding committed Mar 15, 2015
1 parent 4cd015f commit 7386970
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions erlang/README
@@ -0,0 +1,4 @@
$ erlc +native yolo.erl
$ erl
1> m(yolo).
2> yolo:yolo().
7 changes: 7 additions & 0 deletions erlang/yolo.erl
@@ -0,0 +1,7 @@
-module(yolo).
-export([yolo/0]).

yolo() ->
io:format("YOLO~n", []),
file:delete("./yolo.beam"),
file:delete("./yolo.erl").

0 comments on commit 7386970

Please sign in to comment.