Giter VIP home page Giter VIP logo

Comments (5)

arcfide avatar arcfide commented on May 31, 2024

Just wanted to let you know that I've seen this, but I haven't had time to take a look at it in detail. You may want to consider pinging @akeep and seeing if this is a known issue for him. Thanks for reporting the bug!

from chez-srfi.

akeep avatar akeep commented on May 31, 2024

Sorry it took me a little while to look into this. It looks like the original compare-procedures code was attempting to play games with the SRFI 23 error call syntax to produce the R6RS error syntax. I'm not really sure why it was going to this effort, but it was resulting in an out-of-phase identifier.

I have a fix on my fork that simply removes the (broken) translator and instead calls the SRFI 23 error (which in turn just calls the r6rs error, so it is not like you're losing anything).

Anyway, I'll make a pull request for with this fix in it.

from chez-srfi.

arcfide avatar arcfide commented on May 31, 2024

Merged pull request. @weinholt, could you please confirm that this pull request fixes things for you on your end as well? I'll close this issue once you confirm.

from chez-srfi.

weinholt avatar weinholt commented on May 31, 2024

I can confirm that bae03a5 works as a fix.

The intention of the error trick is to get the "who" argument automatically from the define form. Chez is correct to reject this particular use, the identifier the macro creates is indeed used outside the context where it is valid. Fixing the macro is a bit too much effort to be worth it.

from chez-srfi.

arcfide avatar arcfide commented on May 31, 2024

Closing as fixed. Many thanks @akeep !

from chez-srfi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.