3 ms·
Ask HN: How to call functions and do basic math in Clojure and core.logic?
- piotr-yuxuan 11y agoBy the way I think it'd be better for me to post in as "Ask HN" but I haven't found how to do it >< -- any clue?
- encoderer 11y agoprefix your title with "Ask HN:"
- dang 11y agoArticles show up in /ask when they were posted without URLs. It's a convention to put "Ask HN" at the head of the title. Putting Ask HN at the head of a title where the post links to an external story breaks the convention somewhat, but since that was your intention we've added it here.
- jballanc 11y agoMath is possible with core.logic (in a sense) using the finite-domain constraints and functions. Check out the clojure.core.logic.fd namespace for more: https://github.com/clojure/core.logic/blob/master/src/main/clojure/clojure/core/logic/fd.clj https://github.com/clojure/core.logic/blob/master/src/main/c...