[erlang-questions] documentation error in zip module

Bengt Kleberg <>
Wed Nov 8 08:59:38 CET 2006


greetings,

i think that the return value for zip:create/3 is wrong in the 
documentation. the way i read it, it claims to be
{"name", Binary} = zip:create( "name", Files, [memory] ).
but i am getting
{ok, {"name", Binary}} = zip:create( "name", Files, [memory] ).

it is difficult to tell since the ''prototypes'' are incomplete. they say:
zip(Name, FileList)
zip(Name, FileList, Options)
create(Name, FileList)
create(Name, FileList, Options)

the usual  -> RetValue is missing.


bengt
-- 
    EPO guidelines 1978: "If the contribution to the known art resides
    solely in a computer program then the subject matter is not
    patentable in whatever manner it may be presented in the claims."



More information about the erlang-questions mailing list