[erlang-questions] ANNOUNCE: 2'nd edition of Programming Erlang now available

Ulf Wiger ulf@REDACTED
Wed Apr 10 14:40:23 CEST 2013


One of my reasons for asking is that I started thinking about how to modify sext so that it can support maps in a backward-compatible way.

In my infinite stupidity, I chose adjacent tags for the different data types, which makes it quite hard to squeeze in a new data type in the middle (since the tags must be in the order corresponding to the ordering between types).

BR,
Ulf W

On 10 Apr 2013, at 12:56, Björn-Egil Dahlberg wrote:

> On 2013-04-10 12:46, Ulf Wiger wrote:
>> 
>> How do they sort?
>> 
>> As tuples?
> Yes, first by #associations, then by keys, then by vaues in key order.
> 
> Much like frames (and thus tuples), i.e. like {{K1, K2, .., Kn}, {V1,V2, .., Vn}}.
> 
> EEP will be out shortly. I've been saying within a week for a couple of weeks now.
> 
> // Björn-Egil
> 
> 
>> 
>> BR,
>> Ulf W
>> 
>> On 10 Apr 2013, at 11:08, Joe Armstrong wrote:
>> 
>>> These are the new maps that will be available in R17 of Erlang (and in pre-releases before this)
>>> 
>>> The are like records only you don't have to define the keys in advance, and keys can be any valid
>>> Erlang terms.
>>> 
>>> /Joe
>>> 
>>> 
>>> On Wed, Apr 10, 2013 at 10:04 AM, Damian Dobroczyński <qoocku@REDACTED> wrote:
>>> Hi Joe,
>>> 
>>> I've searched through available text and noticed some "maps", like the following:
>>> 
>>> #{cmd ~ fill_div, id ~ clock, txt ~ current_time()}
>>> 
>>> What is it, by the way? Where can I find them? 
>>> 
>>> -- D.
>>> 
>>> 
>>> W dniu 10.04.2013 08:40, Joe Armstrong pisze:
>>>> The 2'nd edition of programming Erlang is now available as an e-book from
>>>> 
>>>>    http://pragprog.com/book/jaerlang2/programming-erlang
>>>> 
>>>> Cheers
>>>> 
>>>> /Joe
>>>> 
>>>> 
>>>> 
>>>> 
>>>> _______________________________________________
>>>> erlang-questions mailing list
>>>> erlang-questions@REDACTED
>>>> http://erlang.org/mailman/listinfo/erlang-questions
>>> 
>>> 
>>> _______________________________________________
>>> erlang-questions mailing list
>>> erlang-questions@REDACTED
>>> http://erlang.org/mailman/listinfo/erlang-questions
>>> 
>>> 
>>> _______________________________________________
>>> erlang-questions mailing list
>>> erlang-questions@REDACTED
>>> http://erlang.org/mailman/listinfo/erlang-questions
>> 
>> Ulf Wiger, Co-founder & Developer Advocate, Feuerlabs Inc.
>> http://feuerlabs.com
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-questions
> 
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions

Ulf Wiger, Co-founder & Developer Advocate, Feuerlabs Inc.
http://feuerlabs.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130410/3709cc3b/attachment.htm>


More information about the erlang-questions mailing list