From 7d8a1f8b944d6734d9419f184c441899a48c11a3 Mon Sep 17 00:00:00 2001 From: rzezeski Date: Sun, 22 May 2011 14:25:17 -0400 Subject: Add a proplist() type Recently I was adding specs to an API and found that there is no canonical proplist() type defined. --- lib/stdlib/src/proplists.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/stdlib/src') diff --git a/lib/stdlib/src/proplists.erl b/lib/stdlib/src/proplists.erl index 68697d0da2..e3eda5d932 100644 --- a/lib/stdlib/src/proplists.erl +++ b/lib/stdlib/src/proplists.erl @@ -49,9 +49,10 @@ %% --------------------------------------------------------------------- --export_type([property/0]). +-export_type([property/0, proplist/0]). -type property() :: atom() | tuple(). +-type proplist() :: [property()]. %% --------------------------------------------------------------------- -- cgit v1.2.3