<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/stdlib, branch OTP-18.2</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>Update release notes</title>
<updated>2015-12-15T08:45:27+00:00</updated>
<author>
<name>Erlang/OTP</name>
<email>otp@erlang.org</email>
</author>
<published>2015-12-15T08:45:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=f4a0ae1736216feac5ae053610644bba2e12ed34'/>
<id>f4a0ae1736216feac5ae053610644bba2e12ed34</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update version numbers</title>
<updated>2015-12-15T08:43:08+00:00</updated>
<author>
<name>Erlang/OTP</name>
<email>otp@erlang.org</email>
</author>
<published>2015-12-15T08:43:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=4586435cd4ca0d3ad3aedd60f462aed8da589460'/>
<id>4586435cd4ca0d3ad3aedd60f462aed8da589460</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update appups in kernel, stdlib and sasl for OTP-18.2</title>
<updated>2015-12-11T11:23:42+00:00</updated>
<author>
<name>Siri Hansen</name>
<email>siri@erlang.org</email>
</author>
<published>2015-12-11T11:23:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=4b45171ef63418a1739238e68d9a95abe14d93fd'/>
<id>4b45171ef63418a1739238e68d9a95abe14d93fd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'bjorn/stdlib/rand-export_seed/OTP-13162' into maint</title>
<updated>2015-12-07T10:40:38+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2015-12-07T10:40:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=2b73b1cee4571227bd56e6b661daa6907396ce77'/>
<id>2b73b1cee4571227bd56e6b661daa6907396ce77</id>
<content type='text'>
* bjorn/stdlib/rand-export_seed/OTP-13162:
  Correct rand:export_seed/0 when there is no prior seed
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bjorn/stdlib/rand-export_seed/OTP-13162:
  Correct rand:export_seed/0 when there is no prior seed
</pre>
</div>
</content>
</entry>
<entry>
<title>Correct rand:export_seed/0 when there is no prior seed</title>
<updated>2015-12-07T10:40:24+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2015-12-04T13:34:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=807f0c8904be14c9088ebc41ade885ffac142b34'/>
<id>807f0c8904be14c9088ebc41ade885ffac142b34</id>
<content type='text'>
According to the documentation, rand:export_seed/0 should return
'undefined' if the seed has not been intialized. However, it will
create and return a seed. That means that the following code
will not work as expected:

  case rand:export_seed() of
     undefined -&gt; rand:seen({1,2,3});
     _ -&gt; ok
  end,
  rand:uniform(Range)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According to the documentation, rand:export_seed/0 should return
'undefined' if the seed has not been intialized. However, it will
create and return a seed. That means that the following code
will not work as expected:

  case rand:export_seed() of
     undefined -&gt; rand:seen({1,2,3});
     _ -&gt; ok
  end,
  rand:uniform(Range)
</pre>
</div>
</content>
</entry>
<entry>
<title>stdlib: Correct pretty-printing of map types</title>
<updated>2015-12-07T08:41:25+00:00</updated>
<author>
<name>Hans Bolinder</name>
<email>hasse@erlang.org</email>
</author>
<published>2015-11-17T13:09:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=b8a5a201389c117aaa8ddfa387dcb11fb6f5ae4a'/>
<id>b8a5a201389c117aaa8ddfa387dcb11fb6f5ae4a</id>
<content type='text'>
Add parentheses around annotated type union elements in map pair
types. The bug was introduced in Erlang/OTP 18.0.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add parentheses around annotated type union elements in map pair
types. The bug was introduced in Erlang/OTP 18.0.
</pre>
</div>
</content>
</entry>
<entry>
<title>stdlib: Pretty-print constraints as 'V :: T'</title>
<updated>2015-12-07T08:41:25+00:00</updated>
<author>
<name>Hans Bolinder</name>
<email>hasse@erlang.org</email>
</author>
<published>2015-11-05T16:09:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=0ad8b47ce2ec578eab64896a3ba8af3f71ce2fd1'/>
<id>0ad8b47ce2ec578eab64896a3ba8af3f71ce2fd1</id>
<content type='text'>
Print constraints as 'V :: T' rather than 'is_subtype(V, T)'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Print constraints as 'V :: T' rather than 'is_subtype(V, T)'.
</pre>
</div>
</content>
</entry>
<entry>
<title>Extend erl_lint:format_error/1 to handle bittype mismatches</title>
<updated>2015-12-03T12:14:45+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2015-12-03T11:53:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=b7514ce549fc8865a2200c44fc686d46ed3d9291'/>
<id>b7514ce549fc8865a2200c44fc686d46ed3d9291</id>
<content type='text'>
erl_lint:format_error/1 would crash with a function error if
conflicting types were given. That was most easily noticed in the
shell:

  Eshell V7.0.3  (abort with ^G)
  1&gt; &lt;&lt;0/integer-binary&gt;&gt;.
  *** ERROR: Shell process terminated! ***

Noticed-by: Aleksei Magusev
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
erl_lint:format_error/1 would crash with a function error if
conflicting types were given. That was most easily noticed in the
shell:

  Eshell V7.0.3  (abort with ^G)
  1&gt; &lt;&lt;0/integer-binary&gt;&gt;.
  *** ERROR: Shell process terminated! ***

Noticed-by: Aleksei Magusev
</pre>
</div>
</content>
</entry>
<entry>
<title>erl_lint_SUITE: Add smoke test of format_error/1</title>
<updated>2015-12-03T12:05:22+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2015-12-03T11:28:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=78b3b26ece408ca90e3e78873e9a0212777973fe'/>
<id>78b3b26ece408ca90e3e78873e9a0212777973fe</id>
<content type='text'>
The test suite depended on the compiler to call
erl_lint:format_error/1 to ensure that format_error/1 was
covered. Unfortunately, though, if format_error/1 crashed
the compiler would catch the exception so that the test suite
would not notice it.

Add a smoke test of format_error/1 that will crash if there is
any problem with erl_lint:format_error/1.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The test suite depended on the compiler to call
erl_lint:format_error/1 to ensure that format_error/1 was
covered. Unfortunately, though, if format_error/1 crashed
the compiler would catch the exception so that the test suite
would not notice it.

Add a smoke test of format_error/1 that will crash if there is
any problem with erl_lint:format_error/1.
</pre>
</div>
</content>
</entry>
<entry>
<title>stdlib: Fix the shell command rp and pretty-printing</title>
<updated>2015-11-27T08:15:55+00:00</updated>
<author>
<name>Hans Bolinder</name>
<email>hasse@erlang.org</email>
</author>
<published>2015-11-26T14:58:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=49014e56350dc942fb950da98075cc781ea3b63a'/>
<id>49014e56350dc942fb950da98075cc781ea3b63a</id>
<content type='text'>
The shell command 'rp' prints strings as lists of integers
when pretty printing of lists is 'false'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The shell command 'rp' prints strings as lists of integers
when pretty printing of lists is 'false'.
</pre>
</div>
</content>
</entry>
</feed>
