Enhance Documentation and Docstring

Description

In `README.md` and namespace `clojure.data.priority-map` docstring, there is one typo and one incorrect function usage, and the example used to demonstrate comparator's `total orders` could be improved.

In README.md,
Typo: line 171, [2 :apricot] => [2 ear]
Incorrect function usage: line 164, priority-map => priority-map-by
Bad example: line 162 ~ line 171, there is no "tie" for those given entries `:a [2 :apple], :b [1 :banana], :c [3 :carrot]`. => `:a [2 :apple], :b [1 :banana], :c [3 :carrot], :d [2 ear]`

Similar for docstring in namespace `clojure.data.priority-map`.

Patch: update-docs.patch

Environment

None

Status

Assignee

Mark Engelberg

Reporter

import

Approval

None

Patch

Code

Priority

Trivial
Configure