Parse expression does not get reduced when used inside cons-atom #159
Labels
bug
Issues that represent errors in the code
compatibility
Issues related compatibility with other versions of MeTTa
Milestone
Bugged code:
!(cons-atom (parse "1") ())
[(1)]
[ ( (parse "1") )]
I suspected there're some edge cases in order of evaluation when combining these 2 specific expressions.
parse
works as expected when used with other expressions, so far:!(foldl-atom ((parse "1") 1 1) 0 $acc $x (+ $acc $x))
-->3
!(let $x (parse "1") (cons-atom $x ()))
-->(1)
The text was updated successfully, but these errors were encountered: