-
Notifications
You must be signed in to change notification settings - Fork 36
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
problog_export does not support type annotated functions #24
Comments
The Python 'str' type is mapped to the Prolog 'atom' type. |
Changed the syntax to
|
It seems problog_export expect positional arguments on the exported Python function. |
Thanks! Now it works. Created two separate issues: |
I have a code like this:
But if I ran
instruction_string("x86", 32, 0, [142, 142, 142], A).
it fails miserably:The text was updated successfully, but these errors were encountered: