This commit is contained in:
roman01la
2021-08-20 20:37:18 +03:00
parent e6307f8cc0
commit 14cfdb75ef

View File

@ -55,8 +55,11 @@
(defn fragment-tag?
"Returns true if `tag` is the fragment tag \"*\" or \"<>\", otherwise false."
[tag]
(or (= (name tag) "*")
(= (name tag) "<>")))
(and (or (keyword? tag)
(symbol? tag)
(string? tag))
(or (= (name tag) "*")
(= (name tag) "<>"))))
(defn fragment? [v]
(and (vector? v)