r6rs
How to write a macro that maintains local state?
This seems to work, it\'s a macro that expands to successive integers depending on how many times it has been expanded.[详细]
2023-03-26 16:22 分类:问答difference between free-identifier=? and bound-identifier=?
Trying to understand free-identifier=? and bound-identifier=?. Can anyone give me equivalent code examples wher开发者_C百科e using free-identifier=? would return true and using bound-identifier=? woul[详细]
2023-03-22 16:15 分类:问答ikarus implementation of vector-map
This bit of code is in Ikarus\' implementation of vector-map: (let f ([p p] [v v] [i 0] [n (vector-length v)] [ac \'()])[详细]
2023-03-17 11:36 分类:问答How do I return a copy of an object?
I need to implement a function of one argument -- obj -- that returns a Scheme expression that, when evaluated, 开发者_如何学编程will return a copy of obj.[详细]
2023-02-12 22:45 分类:问答Order of evaluation in scheme
T开发者_如何转开发his is what works: (define obj1 (maak-object (coord 1 1) #f #f #t)) (set! karaktersenobjectenlijst (append karaktersenobjectenlijst[详细]
2023-02-10 03:42 分类:问答Scheme: Using only R6RS, how do I determine a flonum's mantissa and exponent
Is this possible to extract mantissa and exponent from a float in major R6RS Scheme implementations so that:[详细]
2023-01-14 16:09 分类:问答How to make just part of a macro hygienic
I\'d like to have a version of lambda, called lambda-r, from within which you can return. An example:[详细]
2023-01-07 04:04 分类:问答Can someone explain the concept of 'hygiene' to me (I'm a scheme programmer)?
So... I\'m new to s开发者_运维问答cheme r6rs, and am learning macros. Can somebody explain to me what is meant by \'hygiene\'?[详细]
2023-01-03 10:04 分类:问答Do you have to use display to output stuff using r6rs?
Background: I am new to scheme, and am using DrScheme to write my programs. The following program outputs 12345 when I run the program as r5rs:[详细]
2023-01-02 15:35 分类:问答Why do all procedures have to be defined before the compiler sees them?
For example, take a look at this code (from tspl4): (define proc1 (lambda 开发者_如何学Python(x y)[详细]
2023-01-02 14:02 分类:问答