Threading macro (->>) parentheses required for functions without arguments #415
-
|
I'm new to scheme, but have a bit of experience with clojure. Should providing a bare-function reference to the threading macro work? I get: Reproduction;; This works:
(->> '(1 2 3 4 5)
(filter even?)
(map (lambda (x) (* x x))))
;; This fails with "macro expansion depth reached":
(->> '(1 2 3 4 5)
(filter even?)
(map (lambda (x) (* x x)))
first)
;; This works:
(->> '(1 2 3 4 5)
(filter even?)
(map (lambda (x) (* x x)))
(first))Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
mattwparas
Jun 11, 2025
Replies: 2 comments 6 replies
-
|
Agh, I thought I fixed this bug. Give me a bit and I'll push the fix |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Madd0g
-
|
FYI this is fixed now |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Agh, I thought I fixed this bug. Give me a bit and I'll push the fix