[erlang-questions] A modest proposal to eliminate tuples

Tristan Sloughter tristan.sloughter@REDACTED
Wed Aug 27 23:19:50 CEST 2014

Maps can in no way replace records. But yes, is a complement to records by
providing a record like structure and syntax for use in place of dicts.

On Wed, Aug 27, 2014 at 4:15 PM, Chris Pacejo <colanderman@REDACTED> wrote:

> On Wed, Aug 27, 2014 at 4:55 PM, Fred Hebert <mononcqc@REDACTED> wrote:
> > I fear the same. In http://learnyousomeerlang.com/maps, I made a
> > conscious effort to distinguish maps from records, for example.
> Ha!  I think we've come to a different conclusion from the same
> premise :)  I believe the opposite, that maps-as-records are useful,
> and should replace/supplement records; while dicts (barring
> performance) are just fine as-is and need no special syntax.  But
> that's a separate discussion (and one I don't feel as strongly about);
> I'm glad we agree that maps performing double-duty is problematic.
> (Perhaps the reason maps currently perform double-duty is because both
> the "I-want-syntax-for-dicts" and the
> "I-want-structurally-typed-records" people have latched onto maps as
> their savior.)
> [Aside: Learn You Some Erlang is great, even as a reference.  Thanks
> for writing and maintaining it!]
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140827/549a98fa/attachment.htm>

More information about the erlang-questions mailing list