I would like to write a function that replaces the Nth element of a tuple.
exemple:
replace(3,{a,b,c,d},a) returns {a,b,a,c,d}
how can I do that?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20060407/3696da78/attachment.htm>