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

strange results from some predicate-arity calls #176

Open
AdrickTench opened this issue Nov 1, 2024 · 1 comment
Open

strange results from some predicate-arity calls #176

AdrickTench opened this issue Nov 1, 2024 · 1 comment
Labels
bug Issues that represent errors in the code
Milestone

Comments

@AdrickTench
Copy link
Collaborator

I'm not sure if this is a bug in the code for predicate-arity or a result of some strange definitions somewhere.

Calling predicate-arity on some built-ins yields strange results, for example:

metta+>!(predicate-arity eval)
[2, 1, 6, 4, 3, 2, 6, 4]
metta+>!(predicate-arity chain)
[4, 2]

I would expect to see

metta+>!(predicate-arity eval)
[2]
metta+>!(predicate-arity chain)
[4]
@AdrickTench AdrickTench added the bug Issues that represent errors in the code label Nov 1, 2024
@TeamSPoon TeamSPoon added this to the Month 4 of 5 milestone Nov 11, 2024
@TeamSPoon
Copy link
Collaborator

Very important to read about the changes of expected behaviour in #177

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues that represent errors in the code
Projects
None yet
Development

No branches or pull requests

2 participants