Skip to content

Commit fdb3675

Browse files
committed
1.5.1 #p: fix error printing dynamic fn invocations
1 parent f06c5b0 commit fdb3675

3 files changed

Lines changed: 13 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# 1.5.1 - Jun 4, 2025
2+
3+
`clojure+.hashp`:
4+
5+
- fix error printing dynamic fn invocations
6+
17
# 1.5.0 - May 10, 2025
28

39
`clojure+.core.server`:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ An ongoing project to improve experience of using Clojure stdlib.
99
Add this to deps.edn:
1010

1111
```clojure
12-
io.github.tonsky/clojure-plus {:mvn/version "1.5.0"}
12+
io.github.tonsky/clojure-plus {:mvn/version "1.5.1"}
1313
```
1414

1515
## Overview

src/clojure+/hashp.clj

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,12 @@
117117
true
118118

119119
:else
120-
(let [sym (first form)
121-
arity (dec (count form))]
122-
(arity-ok? (arglists sym) arity))))
120+
(let [sym (first form)
121+
arity (dec (count form))
122+
arglists (arglists sym)]
123+
(if arglists
124+
(arity-ok? arglists arity)
125+
true))))
123126

124127
(defn- add-first [x form]
125128
(if (seq? form)

0 commit comments

Comments
 (0)