6 lines
135 B
Erlang
6 lines
135 B
Erlang
1> c(tests).
|
|
{ok, tests}
|
|
2> tests:first(fun tests:second/0).
|
|
hello
|
|
3> tests:first(fun() -> anonymous_function end).
|
|
anonymous_function
|