Comments (5)
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.
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.
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.
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.
Closing as fixed. Many thanks @akeep !
from chez-srfi.
Related Issues (20)
- README misleading regarding "upstream" HOT 1
- Bugs in (srfi :126 r6rs-hashtables) HOT 4
- Chez parameters are not SRFI-39 compatible HOT 4
- Bug in append-map from SRFI-1
- SRFI 146: Mappings HOT 2
- Setup Continuous Integration HOT 1
- Out-of-context identifier in SRFI 42 HOT 3
- Importing partial libraries HOT 3
- bug in srfi-1 fold-right HOT 4
- Outdated leap second table in SRFI-19 HOT 7
- Port arew's libraries to chez-srfi HOT 2
- Avoid the use of make-coroutine-generator in srfi-158 HOT 2
- It does not seem to support windows HOT 1
- SRFI 15 (fluid-let) HOT 5
- SRFI 111 boxes implementation is not portable HOT 1
- Duplicate exports in SRFI 113 - sets-and-bags
- Improve or remove install script and document HOT 9
- windows support HOT 2
- (srfi :14 char-sets) only handles latin-1 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chez-srfi.