Skip to content

Commit

Permalink
Add a proplist() type
Browse files Browse the repository at this point in the history
Recently I was adding specs to an API and found that there is
no canonical proplist() type defined.
  • Loading branch information
rzezeski authored and Richard Carlsson committed Sep 25, 2011
1 parent 30179dd commit 3434407
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/edoc_specs.erl
Expand Up @@ -27,7 +27,6 @@
-include("edoc.hrl").
-include("edoc_types.hrl").

-type proplist() :: [proplists:property()].
-type syntaxTree() :: erl_syntax:syntaxTree().

-define(TOP_TYPE, term).
Expand Down Expand Up @@ -99,7 +98,7 @@ docs(Forms, CommentFun) ->
-type entry() :: #entry{}.
-type module_info() :: #module{}.
-type entries() :: [entry()].
-spec add_data(Entries::entries(), Options::proplist(),
-spec add_data(Entries::entries(), Options::proplists:proplist(),
File::file:filename(), Module::module_info()) -> entries().

%% @doc Create tags a la EDoc for Erlang specifications and types.
Expand Down

0 comments on commit 3434407

Please sign in to comment.