I'm trying to write a R7RS library which will reverse a list in a destructive manner, I currently have written this code; The only thing I'm worri ...
I'm trying to write a R7RS library which will reverse a list in a destructive manner, I currently have written this code; The only thing I'm worri ...
Why does (write-u8 49 current-output-port) fail with an error when I evaluate it in an REPL? chibi-scheme 0.10.0: > (write-u8 49 current-output-p ...
Are compliant R7RS-small implementations allowed to impose a restriction on the number of define-library per file? Some R7RS-small implementations suc ...
(filter procedure list) applies procedure to each element of list and returns a new list containing only the elements for which procedure returns t ...
For every 100% compliant R7RS-small program that does not rely on any implementation-specific or undefined behavior, is it true that every instance of ...
I've long since known that define is scary and should be used with caution unless you know for sure how your implementation handles it. Out of interes ...
The R7RS-small standard, section 4.2.8 Quasiquotation on page 20-21 says that (let ((a 3)) `((1 2) ,a ,4 ,'five 6)) is equivalent to `((1 2) 3 ...
TL;DR: How to define a procedure foobar which can be used as (let-values ((foo bar) (foobar)) ...). R7RS defines two procedures floor/ and truncate ...
I am trying to get a basic eval to work within a library of the r7rs egg. The following toplevel (not library) program work as I expected, when run wi ...
R7RS-small says that all identifiers must be terminated by a delimiter, but at the same time it defines pretty elaborate rules for what can be in an i ...
I am writing an interpreter for R7RS Scheme to gain a more complete understanding of the Scheme programming language. From my understanding, eqv? mus ...
I'm currently learning some r7rs and I am trying to implement a macro 'begin' as following : With expr being a regular expression (Like (set! x (+ ...
How can I redefine the procedure and only when it is called as an argument to the procedure fetch? For example: I would like to write a macro to d ...
Under larceny r7r6 for scheme, I am trying to use the gensym procedure as it is apparently defined in the documentation. When calling it (either in ...
In Scheme R7RS there is both a load and include form. Include is described as: Semantics: Both include and include-ci take one or more filenames ...
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 Sche ...
A good question was asked on Freenode's #scheme channel. Consider the following code in Scheme: Which ones of beta, gamma, and delta should produce ...
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 ...
Why does Scheme need the special notion of procedure's location tag? The standard says: Each procedure created as the result of evaluating a lambd ...
I am studying the Revised7 Report on the Algorithmic Language Scheme. My question is on section 5.6 Libraries. In this section, it says: When a l ...