provided using mit-scheme The only modification is from (cthen (make-syntactic-closure env '(it) (third exp))) to (cthen (third exp)) In brief, what ...
provided using mit-scheme The only modification is from (cthen (make-syntactic-closure env '(it) (third exp))) to (cthen (third exp)) In brief, what ...
I'm working through 99 scheme problems and I have a solution for P16 (Drop every N'th element from a list.) using recursion, but I'm trying to practic ...
In one of my books i have this scheme code and want to convert it to Common Lisp: then i'll create it with : and then call deposit or withdraw w ...
(define ones (cons-stream 1 ones)) (stream-cdr ones) returns an infinite sequence of evaluated 1s - i.e. I get ;Value: #0={1 1 1 1 1 1 1 and so on.. ...
I am trying to go through exercises of book SICM using the provided scheme code, however I could not figure out the reason for the error, I am quite n ...
Here is my code about postfix in scheme: But when I tried to run it, the compiler said it takes wrong. I tried to check it, but still can't find wh ...
I have written a simple macro: (define-syntax myif (syntax-rules () ((_ condition a b) (if condition a b)))) Usage example: (myif #t "ye ...
I am using the interpreter from browser (without any local setup): https://inst.eecs.berkeley.edu/~cs61a/fa14/assets/interpreter/scheme.html and getti ...
I am using Ubuntu 20.04 and MIT-Scheme's procedure (enumerate-graphic-types) returns nothing. Even compiling the software from source with the flags - ...
I am trying to make a math-expression interpreter for a project, but I have difficulty in parsing unusual (unary) expressions like '(- -1), '(- (- -1) ...
MIT Scheme's REPL automatically starts the interactive debugger when there is an error: 1 ]=> foobar ;Unbound variable: foobar ;To continue, call ...
Why do I keep getting this error??? ;Can't define name; already free: ratio code Just the "ratio" function works fine, and "iter" function also wo ...
I want to multiply the elements of 2 lists in scheme and save the result of each multiplication in a third list that is returned by a function and.. ...
I am currently working on a project where I am reading in contents from a file, line by line. I would like to check if the file can be opened or is pr ...
I'm using MIT Scheme 10.1.5 and am curious why the following code using open-i/o-file is not working I expected. Does anyone know what the issue is? ...
There's support for Git under Edwin, the emacs-clone that comes with MIT-Scheme: I find some code for it in the source-tree. However, I don't get it t ...
Is there a good way to filter a list using each element and its index in scheme? This is how I'm doing it now, but it seems overly complex ...
I have a few .scm files that have some handwritten functions that I use often. Is there a way I can configure MIT-Scheme to load these files every sta ...
Suppose I try to use an undefined variable in MIT Scheme's REPL: This automatically brings me into the debugger. To exit the debugger, I have to ty ...
I'm going through SICP course and as recommended installed mit-scheme. I want to use the REPL together with a scheme file. The reason is because I can ...