Swap to simply execute the list in our p-> threading if it is a list

This commit is contained in:
2025-11-16 13:11:35 -06:00
parent 498fca5b1c
commit 7a78709d0f

View File

@@ -73,7 +73,8 @@
`(p-chain ~acc #(~form %))
(list? form)
`(p-chain ~acc (fn [val#] (~@form val#)))
`(p-chain ~acc ~form)
:else
(throw (ex-info "Unsupported form in p->" {:form form}))))]