Open vulecoff opened 1 week ago
Bugged code: !(cons-atom (parse "1") ())
!(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:
parse
!(foldl-atom ((parse "1") 1 1) 0 $acc $x (+ $acc $x))
3
!(let $x (parse "1") (cons-atom $x ()))
(1)
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)