Skip to content
#

prolog

Here are 1,508 public repositories matching this topic...

triska
triska commented May 29, 2021

As noted in the recent discussion #974, library(reif) as included in Scryer Prolog does not yet implement the goal expansion that the version for SICStus Prolog already implements. The SICStus version of library(reif) is available from:

http://www.complang.tuwien.ac.at/ulrich/Prolog-inedit/sicstus/reif.pl

In case anyone is interested in porting the goal expansion mechanism, this would be

fpopineau
fpopineau commented Jul 29, 2020

Hi there,

Thanks for this amazing module.

I think there is a problem with the way terms are printed.
I run some Prolog code from Python, querying Prolog with:

H = pyswip.Variable()
induce = pyswip.Functor('induce', 1)
q = Query(induce(H))
q.nextSolution()
print(H.value)

I get a result like this for H:

[Functor(319757,2,
 [Functor(9048461,3,_10560234,_10560236,_1056023

Improve this page

Add a description, image, and links to the prolog topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the prolog topic, visit your repo's landing page and select "manage topics."

Learn more