-module(thingy).
-export([x/0]).
x() ->
lists:foldl(fun (E, A) -> some_mod:xyz(E, A) end, [], [1, 2, 3]).
1> c(thingy),power_shell:eval(thingy,x,[]).
** exception error: undefined function lists:foldl/3
in function lists:foldl/3
in call from thingy:x/0