core-logic

zimablue 2022-08-27T08:10:46.936099Z

Is there a standard way to force core.logic or minikanren to only return fully ground results?

zimablue 2022-12-06T16:13:04.566209Z

Rick you are correct about what I meant

vimfun 2022-09-01T05:54:53.086649Z

Is Your meaning logic/run* ? It will return all the possible values match the predication of the logic expression in it.🙂

2022-09-02T15:38:10.686489Z

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…

2022-09-02T15:38:30.936459Z

though I forget exactly what is returned in these cases