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

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?
Encephalography asked 7/12, 2013 at 11:17

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...
Jackelinejackelyn asked 17/5, 2012 at 13:7

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 ...
Demagnetize asked 23/7, 2011 at 15:43

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?
Encourage asked 28/3, 2011 at 5:8

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.
Ceylon asked 9/6, 2010 at 22:36
1

© 2022 - 2024 — McMap. All rights reserved.