[erlang-questions] Abstract patterns, structs and frames

Richard Andrews <>
Mon Feb 23 12:31:18 CET 2009


> Yes, it means that both Abstract Patterns and (Frames or Structs)
> might be implemented.

As best I can understand - after reading the papers by Richard O'Keef and Joe Armstrong - structs and frames are trying to solve pretty much the same problem and the main distinction appears to be that structs are named/tagged while frames are defined only by their content.

I don't see a need for the tag (ie. struct) and I think it might be a problem in some cases. What situations can people see where the struct tag is better than say, tag=someTagAtom in a frame?

--
  Rich


      Make Yahoo!7 your homepage and win a trip to the Quiksilver Pro. Find out more



More information about the erlang-questions mailing list