Prioqueue v0.1.0 Prioqueue.Protocol protocol View Source

Link to this section Summary

Link to this section Types

Link to this section Functions

Link to this function extract_min(prioqueue) View Source
extract_min(prioqueue) ::
  {:ok, {item :: any, prioqueue}} |
  :error
Link to this function insert(prioqueue, item) View Source
insert(prioqueue, item :: any) :: {:ok, prioqueue} | :error
Link to this function member?(prioqueue, item) View Source
member?(prioqueue, item :: any) :: boolean
Link to this function size(prioqueue) View Source
size(prioqueue) :: non_neg_integer
Link to this function to_list(prioqueue) View Source
to_list(prioqueue) :: list