Open ngeiswei opened 1 month ago
The following code
(= (((λ $x) $x) $y) $y) !((λ $f) (($f $z) $g))
should output
[((λ $f) (($f $z) $g))]
as in MeTTa-Rust, however in MeTTaLog it outputs
[ ( (λ (λ $_25496)) $_25518) , ( (λ ((λ $_31682) $_31682)) ($_25496 $_31712))]
That has to do with the variable_operation feature of MeTTa-Rust, which is disabled by default. The following issue goes in detail over it https://github.com/trueagi-io/hyperon-experimental/issues/242.
variable_operation
The following code
should output
as in MeTTa-Rust, however in MeTTaLog it outputs