|
14 | 14 | %%% |
15 | 15 | %%% MIT License |
16 | 16 | %%% |
17 | | -%%% Copyright (c) 2011-2017 Michael Truog <mjtruog at protonmail dot com> |
| 17 | +%%% Copyright (c) 2011-2020 Michael Truog <mjtruog at protonmail dot com> |
18 | 18 | %%% |
19 | 19 | %%% Permission is hereby granted, free of charge, to any person obtaining a |
20 | 20 | %%% copy of this software and associated documentation files (the "Software"), |
|
35 | 35 | %%% DEALINGS IN THE SOFTWARE. |
36 | 36 | %%% |
37 | 37 | %%% @author Michael Truog <mjtruog at protonmail dot com> |
38 | | -%%% @copyright 2011-2017 Michael Truog |
39 | | -%%% @version1.7.1 {@date} {@time} |
| 38 | +%%% @copyright 2011-2020 Michael Truog |
| 39 | +%%% @version2.0.1 {@date} {@time} |
40 | 40 | %%%------------------------------------------------------------------------ |
41 | 41 |
|
42 | 42 | -module(pqueue3). |
|
60 | 60 | %%%------------------------------------------------------------------------ |
61 | 61 |
|
62 | 62 | -typepqueue3():: {integer(),integer(),empty |integer(),tuple()}. |
| 63 | +-typepqueue3_empty():: {integer(),integer(),empty,tuple()}. |
63 | 64 |
|
64 | 65 | %%------------------------------------------------------------------------- |
65 | 66 | %% @doc |
@@ -155,7 +156,7 @@ len(I, {{value, _}, Q}) -> |
155 | 156 | %% @end |
156 | 157 | %%------------------------------------------------------------------------- |
157 | 158 |
|
158 | | --specnew()->pqueue3(). |
| 159 | +-specnew()->pqueue3_empty(). |
159 | 160 |
|
160 | 161 | new()-> |
161 | 162 | new([]). |
|