<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>All right, you wanted to zip two lists into a map, rather than
      two maps into a new map.<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 06/05/2016 22:06, Andrew Berman
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAEVpa77ZYBOUskdQ0Uzu7c2g1eo68nf12V0CUaVQQEnc4No9ZA@mail.gmail.com"
      type="cite">
      <div dir="ltr">The same way lists:zip/2 does it with the position
        in each list.  So, maps:zip([key1, key2, key3],[val1, val2,
        val3]) = #{key1 => val1, key2 => val2, key3 => val3}.
        <div><br>
        </div>
        <div><span style="font-family:'helvetica
            neue',helvetica,arial,sans-serif"><a moz-do-not-send="true"
              href="http://erlang.org/doc/man/lists.html#zip-2">http://erlang.org/doc/man/lists.html#zip-2</a></span></div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr">On Fri, May 6, 2016 at 1:27 PM Grzegorz Junka
          <<a moz-do-not-send="true" href="mailto:list1@gjunka.com">list1@gjunka.com</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div bgcolor="#FFFFFF" text="#000000">
            <p>Andrew, how would the zip function know which keys to
              join with which values? Unless you mean only zipping
              values for the same keys?<br>
            </p>
          </div>
          <div bgcolor="#FFFFFF" text="#000000"> <br>
            <div>On 06/05/2016 20:19, Andrew Berman wrote:<br>
            </div>
            <blockquote type="cite">
              <div dir="ltr">Not sure if this was mentioned yet, but a
                maps:zip addition like what is in lists only building a
                map would be really handy.</div>
              <br>
              <div class="gmail_quote">
                <div dir="ltr">On Fri, May 6, 2016 at 10:26 AM Robert
                  Virding <<a moz-do-not-send="true"
                    href="mailto:rvirding@gmail.com" target="_blank">rvirding@gmail.com</a>>
                  wrote:<br>
                </div>
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  <div dir="ltr">
                    <div>Yes, I am not alone in wanting these!<br>
                      <br>
                    </div>
                  </div>
                  <div dir="ltr">Robert<br>
                    <br>
                  </div>
                  <div class="gmail_extra"><br>
                    <div class="gmail_quote">On 6 May 2016 at 18:12,
                      Jean Chassoul <span dir="ltr"><<a
                          moz-do-not-send="true"
                          href="mailto:chassoul@gmail.com"
                          target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:chassoul@gmail.com">chassoul@gmail.com</a></a>></span>
                      wrote:<br>
                      <blockquote class="gmail_quote" style="margin:0 0
                        0 .8ex;border-left:1px #ccc
                        solid;padding-left:1ex">
                        <div dir="ltr">
                          <div class="gmail_extra"><br>
                            <div class="gmail_quote"><span>On Thu, Apr
                                21, 2016 at 5:09 PM, Robert Virding <span
                                  dir="ltr"><<a
                                    moz-do-not-send="true"
                                    href="mailto:rvirding@gmail.com"
                                    target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:rvirding@gmail.com">rvirding@gmail.com</a></a>></span>
                                wrote:<br>
                                <blockquote class="gmail_quote"
                                  style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
                                  <div dir="ltr">
                                    <div>My maps:first/1 and
                                      maps:next/2will be coming when?
                                      :-)<span><font color="#888888"><br>
                                          <br>
                                        </font></span></div>
                                  </div>
                                </blockquote>
                                <div><br>
                                </div>
                              </span>
                              <div>+1 </div>
                              <div><br>
                              </div>
                              <div>(= <br>
                              </div>
                            </div>
                            <br>
                          </div>
                        </div>
                        <br>
                        _______________________________________________<br>
                        erlang-questions mailing list<br>
                        <a moz-do-not-send="true"
                          href="mailto:erlang-questions@erlang.org"
                          target="_blank">erlang-questions@erlang.org</a><br>
                        <a moz-do-not-send="true"
                          href="http://erlang.org/mailman/listinfo/erlang-questions"
                          rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
                        <br>
                      </blockquote>
                    </div>
                    <br>
                  </div>
                  _______________________________________________<br>
                  erlang-questions mailing list<br>
                  <a moz-do-not-send="true"
                    href="mailto:erlang-questions@erlang.org"
                    target="_blank">erlang-questions@erlang.org</a><br>
                  <a moz-do-not-send="true"
                    href="http://erlang.org/mailman/listinfo/erlang-questions"
                    rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
                </blockquote>
              </div>
              <br>
              <fieldset></fieldset>
              <br>
              <pre>_______________________________________________
erlang-questions mailing list
<a moz-do-not-send="true" href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a>
<a moz-do-not-send="true" href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a>
</pre>
            </blockquote>
            <br>
          </div>
          _______________________________________________<br>
          erlang-questions mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
          <a moz-do-not-send="true"
            href="http://erlang.org/mailman/listinfo/erlang-questions"
            rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </body>
</html>