Skip to content
New issue

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

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

Already on GitHub? # to your account

meta_predicate/1 directive unexpectedly does not accept predicate indicator lists #2823

Open
triska opened this issue Feb 10, 2025 · 0 comments

Comments

@triska
Copy link
Contributor

triska commented Feb 10, 2025

Taking the example from #2822 (comment):

:- meta_predicate([a(0), b(1), c(2)]).

Yielding:

   error(syntax_error(invalid_meta_predicate_decl),load/1), unexpected.

For comparison, the following works as expected:

:- dynamic([a/1,b/1,c/1]).
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant