Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always get None on facts with double quotes #90

Closed
eolandro opened this issue May 28, 2020 · 5 comments · Fixed by #93
Closed

Always get None on facts with double quotes #90

eolandro opened this issue May 28, 2020 · 5 comments · Fixed by #93

Comments

@eolandro
Copy link

this is a minimal test
Prolog
test("hello","world").
Python

R = list(prolog.query("test(A,B)"))
print(R)

gets
[{'A': None, 'B': None}]

@allComputableThings
Copy link

I believe this is due to a breaking changes in SWI-Prolog.h.
I think fixing #92 will fix this.
Can you report which version of swi-prolog you have installed?

@allComputableThings
Copy link

Resolved here: #93

@eolandro
Copy link
Author

SWI-Prolog version 8.2.0 for x86_64-linux

@allComputableThings
Copy link

allComputableThings commented Jun 18, 2020 via email

@eolandro
Copy link
Author

Thanks i will close this issue when the fit be accepted.
PD sorry for bad english

@yuce yuce closed this as completed in #93 Jun 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants