<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">It doesn't look like the new map type is supported in erl_interface (and likely jinterface):</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">
<br></div><div class="gmail_default"><div class="gmail_default"><span style="font-family:arial,helvetica,sans-serif">1> M = #{ a => 10, b => 20 }.</span><br></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">#{a => 10,b => 20}</font></div>
<div class="gmail_default"><font face="arial, helvetica, sans-serif">2> term_to_binary(M).</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><<131,116,0,0,0,2,100,0,1,97,100,0,1,98,97,10,97,20>></font></div>
<div class="gmail_default"><font face="arial, helvetica, sans-serif"><div class="gmail_default">3> io:format("~c\n", [116]).</div><div class="gmail_default">t</div><div class="gmail_default">ok</div><div><br>
</div></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">$ grep 't' lib/erl_interface/include/*</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div>
<div class="gmail_default"><font face="arial, helvetica, sans-serif">Is this an oversight?</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">Serge</font></div>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jan 31, 2014 at 4:51 PM, Kenneth Lundin <span dir="ltr"><<a href="mailto:kenneth.lundin@gmail.com" target="_blank">kenneth.lundin@gmail.com</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"><p>Erlang/OTP 17.0-rc1 has been released. </p><p>This is an alpha release, which will be followed by a planned beta release about a month later and a final <br>
OTP 17.0 product release in the end of March 26, 2014.<br>
Between the alpha and beta and final release there will be new updates of the master branch with corrections<br>and minor new features. Occasionally there might be new tags which we in that <br>case will communicate and ask you to test.</p>
<p>Erlang/OTP 17.0 is a new major release with new features, quite a few (characteristics) improvements,<br>as well as some incompatibilities. See the README file and the documentation for more details.</p><p>We would like to ask you to download and test the alpha release and send us your feedback as soon as possible,<br>
so that we can make the necessary corrections before OTP 17.0-rc2 and OTP 17.0, respectively. <br>The release contains many changes; thus, some unexpected incompatibilities or issues may have slipped through<br>our tests. Please try to build and run your current products/applications and let us know about any problems.</p>
<p>Note! The new datatype MAP is not properly documented yet but the EEP 43 <a href="http://www.erlang.org/eeps/eep-0043.html" target="_blank">http://www.erlang.org/eeps/eep-0043.html</a><br>will provide a good start. Also note that it is a limited implementation of maps implemented so far:</p>
<p> - no variable keys are allowed<br> - native code can not be generated for modules using maps </p><p>Some other highlights of the release are:</p><p> - Maps, a new dictionary data type (experimental) <br> - A more natural mapping from ASN.1 OCTET STRING and BIT STRING to Erlang types, <br>
and other ASN.1 improvements and optimizations<br> - The {active, N} socket option for TCP, UDP, and SCTP<br> - A new (optional) scheduler utilization balancing mechanism<br> - Migration of memory carriers has been enabled by default on all ERTS internal <br>
memory allocators<br> - Increased garbage collection tenure rate<br> - Experimental "dirty schedulers" functionality<br> - Funs can now be given names<br> - Miscellaneous unicode support enhancements<br>
- A new, semantic version scheme for OTP and its applications</p><p>You can find the README file with more detailed info at</p><p> <a href="http://www.erlang.org/download/otp_src_17.0-rc1.readme" target="_blank">http://www.erlang.org/download/otp_src_17.0-rc1.readme</a></p>
<p>You can download the full source distribution from</p><p> <a href="http://www.erlang.org/download/otp_src_17.0-rc1.tar.gz" target="_blank">http://www.erlang.org/download/otp_src_17.0-rc1.tar.gz</a><br> <a href="http://www.erlang.org/download/otp_src_17.0-rc1.readme" target="_blank">http://www.erlang.org/download/otp_src_17.0-rc1.readme</a> (this file)</p>
<p>Note: To unpack the TAR archive you need a GNU TAR compatible program.</p><p>For installation instructions please read the README that is part of the distribution.</p><p>You can also find this release at the official Erlang/OTP Git-repository at Github here:</p>
<p> <a href="https://github.com/erlang/otp" target="_blank">https://github.com/erlang/otp</a> tagged *OTP_17.0-rc1*</p><p><br>The Windows binary distribution can be downloaded from</p><p> <a href="http://www.erlang.org/download/otp_win32_17.0-rc1.exe" target="_blank">http://www.erlang.org/download/otp_win32_17.0-rc1.exe</a><br>
<a href="http://www.erlang.org/download/otp_win64_17.0-rc1.exe" target="_blank">http://www.erlang.org/download/otp_win64_17.0-rc1.exe</a></p><p><br>On-line documentation can be found at <a href="http://www.erlang.org/doc/" target="_blank">http://www.erlang.org/doc/</a>.<br>
You can also download the complete HTML documentation or the Unix manual files</p><p> <a href="http://www.erlang.org/download/otp_doc_html_17.0-rc1.tar.gz" target="_blank">http://www.erlang.org/download/otp_doc_html_17.0-rc1.tar.gz</a><br>
<a href="http://www.erlang.org/download/otp_doc_man_17.0-rc1.tar.gz" target="_blank">http://www.erlang.org/download/otp_doc_man_17.0-rc1.tar.gz</a></p><p>We also want to thank those that sent us patches, suggestions and bug reports.</p>
<p>The Erlang/OTP Team at Ericsson<br></p><p> </p></div>
<br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br></div>