Why special function apply(Mod, Func, Args).

Suresh S sureshsaragadam@REDACTED
Fri Feb 7 14:06:54 CET 2003


Hi,

In erlang Course there is a special function described
i.e apply(Mod, Func, Args) at
http://www.erlang.org/course/course.html 

Special Function :

apply(Mod, Func, Args)

1> apply( lists1,min_max,[[4,1,7,3,9,10]]).
    {1, 10}

but this will solve the problem  

2> lists1:min_max([4,1,7,3,9,10]).
    {1, 10}		

i really do not understand why the special function 
apply(Mod, Func, Args).


regards 
suresh s

________________________________________________________________________
Missed your favourite TV serial last night? Try the new, Yahoo! TV.
       visit http://in.tv.yahoo.com



More information about the erlang-questions mailing list