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

MeTTa Returns Empty for Unevaluated Expression !((+ 1) 1) - Bug? #837

Open
TeamSPoon opened this issue Jan 16, 2025 · 0 comments
Open

MeTTa Returns Empty for Unevaluated Expression !((+ 1) 1) - Bug? #837

TeamSPoon opened this issue Jan 16, 2025 · 0 comments

Comments

@TeamSPoon
Copy link
Contributor

TeamSPoon commented Jan 16, 2025

When evaluating the expression !((+ 1) 1) in MeTTa-REPL, the output is [] (Empty). However, the expected behavior is to return [ ((+ 1) 1) ], representing the unevaluated expression as per MeTTa's principles.

Steps to Reproduce

  1. Open MeTTa-REPL.
  2. Enter the following command:
    !((+ 1) 1)
    
  3. Observe the output.

Actual Behavior

The REPL returns:

[]

Expected Behavior

The REPL should return:

[((+ 1) 1)]

Additional Notes

This appears to be a bug that happens with

> !((abs-math) -1)
[]

but not with

> !((goofed) -1)
[((goofed) -1)]
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

No branches or pull requests

1 participant