core-logic

Pepijn de Vos 2024-09-30T19:36:41.541789Z

How would I define fd sum function?

2024-09-30T20:02:06.493359Z

clojure.core.logic.fd/+

Pepijn de Vos 2024-09-30T20:38:34.232399Z

but like, you'd have to do some apply or reduce thing to actually sum a vector

2024-09-30T21:07:44.379979Z

yes, you have to use reduce, and maybe and* and generate intermediate lvars