justinethier / cyclone

:cyclone: A brand-new compiler that allows practical application development using R7RS Scheme. We provide modern features and a stable system capable of generating fast native binaries.
http://justinethier.github.io/cyclone/
MIT License
823 stars 42 forks source link

SRFI 143: `fx-{width,least,greatest}` are not procedures #503

Closed jpellegrini closed 1 year ago

jpellegrini commented 1 year ago

In the SRFI text, these are constants:

fx-width
fx-greatest
fx-least

But they were implemented as procedures in Cyclone.

This patch changes that, so they now are implemented as constants.

justinethier commented 1 year ago

Great catch, thanks @jpellegrini !