aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/doc/src/orddict.xml
diff options
context:
space:
mode:
authorUENISHI Kota <[email protected]>2015-04-09 18:40:01 +0900
committerHans Bolinder <[email protected]>2015-05-29 11:42:02 +0200
commit966e9e7ed0951db306c3c5dc4b1fd4c6eac25cf9 (patch)
tree270ae19d8493a22432205d22b8afce4f4207d690 /lib/stdlib/doc/src/orddict.xml
parent3f652961917964b1f47a0ac62609860691bd9099 (diff)
downloadotp-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/src/orddict.xml')
-rw-r--r--lib/stdlib/doc/src/orddict.xml7
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>