[erlang-questions] beginner:how to change a tuple's element

Dave Smith dizzyd@REDACTED
Sat Aug 9 16:31:31 CEST 2008

setelement/3 is the function you're looking for.


2008/8/9 devdoer bird <devdoer2@REDACTED>:
> HI:
> I want to change a element  in one tuple,Eg. change the 3th element in tuple
> {a,b,c,e} to 'g',the result will be {a,b,g,e}.
> How can I do it?
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions

More information about the erlang-questions mailing list