[erlang-questions] Abstract patterns, structs and frames

Hynek Vychodil vychodil.hynek@REDACTED
Mon Feb 23 15:12:04 CET 2009


On Mon, Feb 23, 2009 at 12:31 PM, Richard Andrews <bbmaj7@REDACTED>wrote:

> > 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?
>

... or encapsulate in tuple or whatever want.

>
> --
>  Rich
>
>
>      Make Yahoo!7 your homepage and win a trip to the Quiksilver Pro. Find
> out more
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
>



-- 
--Hynek (Pichi) Vychodil

Analyze your data in minutes. Share your insights instantly. Thrill your
boss.  Be a data hero!
Try Good Data now for free: www.gooddata.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20090223/b90d08d0/attachment.htm>


More information about the erlang-questions mailing list