Skip to content

Commit a9f3072

Browse files
committed
Add docstring
1 parent 721499a commit a9f3072

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22

33
## Added
44

5-
## Fixed
6-
7-
## Changed
5+
- docstring
86

97
# 0.1.1 (2024-08-23 / fd53a2b)
108

src/lambdaisland/xml_select.clj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@
4747
[el]
4848
(mapcat #(select (rest selector) %) (:content el)))))
4949

50-
(defn select [selector root]
50+
(defn select
51+
"Select nodes in a clojure.data.xml style data structure, based on a selector."
52+
[selector root]
5153
(seq
5254
(cond
5355
(empty? selector)

0 commit comments

Comments
 (0)