You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is to be expected. ma is does not inherit from the Pengine application module. The intended scenario is that the pengine application module defines the Pengine application settings and default environment. If you create a Pengine the library creates a temporary module that inherits from the application. This makes the predicates from the application visible as fall-back (you can overrule them). This also holds for goal/term expansion and operators.
Not sure how to fix that in the docs. Apparently It is not clear. If you think you now understand what is going on and you see a better formulation, please submit a pull request on the docs.
I try to construct a small working example from the documentation of
pengines_io
.So I create
ma.pl
with the following content:The bold part is directly copied from the library documentation.
Now, I get:
However, when I change the bold part to (change in bold:
myapp
→ma
):then I get the expected expansion:
Please check the example in the documentation, and whether it is working as intended. Thank you!
The text was updated successfully, but these errors were encountered: