Skip to content

Instantly share code, notes, and snippets.

@kevsmith
Created October 1, 2009 13:15
Show Gist options
  • Select an option

  • Save kevsmith/198955 to your computer and use it in GitHub Desktop.

Select an option

Save kevsmith/198955 to your computer and use it in GitHub Desktop.
#!/usr/bin/env escript
%% -*- erlang -*-
-mode(compile).
-export([foo/0]).
foo() ->
5.
main([]) ->
io:format("~p~n", [erlang:apply(?MODULE, foo, [])]).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment