diff options
author | UENISHI Kota <[email protected]> | 2015-04-09 18:40:01 +0900 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2015-05-29 11:42:02 +0200 |
commit | 966e9e7ed0951db306c3c5dc4b1fd4c6eac25cf9 (patch) | |
tree | 270ae19d8493a22432205d22b8afce4f4207d690 /lib/stdlib/doc | |
parent | 3f652961917964b1f47a0ac62609860691bd9099 (diff) | |
download | otp-966e9e7ed0951db306c3c5dc4b1fd4c6eac25cf9.tar.gz otp-966e9e7ed0951db306c3c5dc4b1fd4c6eac25cf9.tar.bz2 otp-966e9e7ed0951db306c3c5dc4b1fd4c6eac25cf9.zip |
Update orddict with parameterized types and specs
With parametrized types and specs, modules using
orddict can be statically checked with dialyzer.
Although orddict have not been builtin types, it is
good and more natural to have its exported types and
specs aligned to builtin types.
Diffstat (limited to 'lib/stdlib/doc')
-rw-r--r-- | lib/stdlib/doc/src/orddict.xml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/stdlib/doc/src/orddict.xml b/lib/stdlib/doc/src/orddict.xml index ec1e43f29c..c853b402d4 100644 --- a/lib/stdlib/doc/src/orddict.xml +++ b/lib/stdlib/doc/src/orddict.xml @@ -48,8 +48,11 @@ <datatypes> <datatype> - <name name="orddict"/> - <desc><p>As returned by new/0.</p></desc> + <name name="orddict" n_vars="2"/> + <desc><p>Dictionary as returned by <c>new/0</c>.</p></desc> + </datatype> + <datatype> + <name name="orddict" n_vars="0"/> </datatype> </datatypes> |