Setting/changing wildcards for ets in a nested record

Vlad Dumitrescu <>
Wed Feb 23 16:16:37 CET 2005

----- Original Message ----- 
From: "Gösta Ask (Mobile Arts)" <>
>      P = #person{},
>      R = set_deep_underscore(P),
>      {R, R#person{names = #name{last="Virding"}}}.


You should use
      {R, R#person{names = (R#person.names)#name{last="Virding"}}}.

Otherwise, a new #name record is created, where the unnamed fields have the
value 'undefined'.

best regards,

More information about the erlang-bugs mailing list