Strange behaviour with a record in a guard
Shawn Pearce
spearce@REDACTED
Mon Mar 3 10:42:59 CET 2003
Bengt Kleberg <eleberg@REDACTED> wrote:
> foo( #r{f1=F1} = R ) when F1 == undefined ->
> ok.
How is that better/different from:
foo( R = #r{f1=F1} ) when F1 == undefined ->
ok.
as I'm currently using the latter form in my code
successfully. Just wondering if I need to go back
and update it for any reason.
--
Shawn.
Don't go surfing in South Dakota for a while.
More information about the erlang-questions
mailing list