Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

srfi/125.sld: conform "rename" clause to r6rs #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

shegeley
Copy link

The "rename" clause was broken. Wouldn't work in guile scheme and I think it's just doesn't conform to r6rs.
Fix introduced.

@arthurgleckler
Copy link
Contributor

I'm confused. The code you're updating uses the R7RS define-library form, not the R6RS library form.

@shegeley
Copy link
Author

Excuse me for the late reply.

Well. Now I am also confused. Maybe I am wrong. Came to this conclusion in 2 steps:

  1. Reading R6RS
  2. Trying to pack srfi-125 into guix and encountering this error:
Syntax error:
unknown location: source expression failed to match any pattern in form ((rename deprecated:hash hash) (rename deprecated:string-hash string-hash) (rename deprecated:string-ci-hash string-ci-hash) (rename deprecated:hash-by-identity hash-by-identity) (rename deprecated:hash-table-equivalence-function hash-table-equivalence-function) (rename deprecated:hash-table-hash-function hash-table-hash-function) (rename deprecated:hash-table-exists? hash-table-exists?) (rename deprecated:hash-table-walk hash-table-walk) (rename deprecated:hash-table-merge! hash-table-merge!))

even with #:compile-flags '(list "--r6rs") flag

image

@arthurgleckler
Copy link
Contributor

arthurgleckler commented May 28, 2024 via email

@shegeley
Copy link
Author

Thanks for the clarification

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants