mattwparas / steel

An embedded scheme interpreter in Rust
Apache License 2.0
1.07k stars 50 forks source link

When using <= in let* body, it can't deal with rational number #246

Closed jkilopu closed 2 months ago

jkilopu commented 2 months ago

The picture speaks for itself: image I find this behavior a bit odd and can’t figure out why.

mattwparas commented 2 months ago

It's a bug, I'll have a fix shortly, looks like the <= is getting lowered to an opcode and the associated handler is missing the handling for rational numbers