This on compiling gives {ok,assignment5}.
three_a(F) -> fun(Y) -> lists:foldl(F,0,Y).
After writing this
F1=assignment5:three_a(fun(X,Sum) -> X+Sum end).
Gives
** exception error: undefined function assignment5:three_a/1
Please help out!