fork download
  1. -module(test1).
  2. -export([main/1]).
  3.  
  4. main(T) -> ( fun(T) -> T * T end ) end.
  5.  
  6. main(11).
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
./prog.erl:4: syntax error before: 'end'
./prog.erl:6: syntax error before: '.'
./prog.erl:2: function main/1 undefined
stdout
Standard output is empty