Help for this page

Select Code to Download


  1. or download this
    f(1) ->
        io:format("I got one!");
    ...
    
    f(random:uniform(1000)).
    f("Now eat this!").  %% runtime error
    
  2. or download this
    -module(fns).
    -export([run_test/0]).
    ...
                                  end),
        io:format("~w microseconds~nResult: ~w~n",
                  [Time, Result]).
    
  3. or download this
    93267 microseconds
    Result: 500464