This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-08-27
Channels
- # announcements (8)
- # babashka (2)
- # calva (21)
- # clojure (30)
- # clojure-europe (4)
- # conjure (1)
- # core-logic (5)
- # data-science (1)
- # emacs (10)
- # hyperfiddle (1)
- # introduce-yourself (1)
- # luminus (62)
- # meander (23)
- # nbb (26)
- # off-topic (9)
- # reitit (2)
- # spacemacs (2)
- # squint (65)
- # tools-build (4)
- # tools-deps (17)
- # xtdb (20)
Is there a standard way to force core.logic or minikanren to only return fully ground results?
Is Your meaning logic/run*
? It will return all the possible values match the predication of the logic expression in it.🙂
I think he means that he doesn’t want to consider successful results which returned unbound variables… i.e. he wants to filter results which look like: _0
.
I think the answer is probably just to not to write programs that succeed with unground results.
You could of course filter them out afterwards; but if you do that you might not know the difference between success/failure…
though I forget exactly what is returned in these cases