Make Chicken Scheme implementation compatible with Chicken 5 #4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi,
I honestly don't really know much about this whole SRFI standardization process. I just found this SRFI very interesting and wanted to play around with using Chicken Scheme. Unfortunately, the provided implementation does not seem to work with Chicken 5 though this can be easily fixed using the changes proposed here. As I said, I am unfamiliar with SRFI standardization and don't know if you accept such compatibility changes after the SRFI has been finalized.
With the changes proposed here the
srfi-151/chicken-test.scm
test cases pass successfully with Chicken 5. Though one has to manually installsrfi-151.scm
as a module beforehand or add(include "srfi-151.scm")
tochicken-test.scm
. I am not sure how this was handled in Chicken 4. I am also unsure whychicken-test.scm
is duplicated in the repository root, should that file be modified as well?This PR performs the following changes:
use
procedure withimport
numbers
module to newbitwise
module