r6rs Questions
1
Solved
I'm running Chez Scheme 9.5 and am trying to define a syntax transformer in
a library. Here's an example:
(library (forlib)
(export for)
(import (rnrs (6)))
(define-syntax for
(syntax-rules (...
Greedy asked 13/1, 2019 at 22:57
6
Solved
For example: if I want the function equal? recognize my own type or record, can I add a new behavior of equal?? without erasing or overwriting the old one?
Or for example if I want to make the fun...
Panchito asked 27/5, 2014 at 0:34
2
Solved
As of 2016, is there a Scheme implementation which supports 100% of R7RS (small) with no deviations?
I am willing to learn Scheme. I want to stick to R7RS since it's the last standard. However, it seems that there is a lot of fragmentation on the Scheme current implementations, and most of them st...
Unready asked 3/2, 2016 at 0:15
7
Solved
How can I pass a variable by reference in scheme?
An example of the functionality I want:
(define foo
(lambda (&x)
(set! x 5)))
(define y 2)
(foo y)
(display y) ;outputs: 5
Also, is th...
Gravelblind asked 16/7, 2010 at 5:17
1
Solved
Both letrec and letrec* are in R6RS, but there's only letrec in Racket, no letrec*. What are the differences between these?
1
Solved
I've got a bunch of "legacy" Guile Scheme code that I want to get running in the Racket Scheme IDE. There appear to be enough differences to make this a non-trivial exercise. (My level of Scheme kn...
1
Solved
Trying to understand free-identifier=? and bound-identifier=?. Can anyone give me equivalent code examples where using free-identifier=? would return true and using bound-identifier=? would return ...
2
Solved
Is there any way in R6RS Scheme to obtain the current environment and then pass it as the second argument to eval?
For example, what should the question marks be for the following expression to re...
Cuss asked 5/7, 2011 at 15:3
1
I'm relatively new to scheme and am having a hard time finding a concrete document online overviewing the major changes that happened with R6RS. Anyone care to elaborate?
6
Solved
So... I'm new to scheme r6rs, and am learning macros. Can somebody explain to me what is meant by 'hygiene'?
Thanks in advance.
1
© 2022 - 2024 — McMap. All rights reserved.