What is caddar in scheme?

I am trying to understand what caddar is in scheme. My notes say that it is a nested version of car or cdr, but it d...

for/continue in scheme/lisp?

I'm writing a small interpreter for a C-like language in Scheme (R5RS) and trying to convert something like: for (i...

When is tail-recursion needed, in the context of lazy evaluation??

My understanding (which may be incorrect or incomplete) is that lazy evaluation can provide all the advantages of ta...

Lisp: Why does (- 1e16 1) yield 10000000000000000 not 9999999999999999??

Or rather, why does (= 1e16 (- 1e16 1)) return true? How can I receive more accurate answer? ...

How to find the median of list in scheme?

I am new to Scheme and I am using Dr.Racket to try to find the median of the list. For example, (median 2 1 3) shou...

LISP SICP Video Lecture 2a Average Damp Question?

In the following code, I am trying to understand how the variable whatami gets its value. In following the logic, I...

What's the proper scheme file extension??

Files of the programming language Scheme are by convention either of the extension .scm or .ss. I'm interested in w...

Scheme empty list expression?

I'm using http://rextester.com/runcode to do some scheme testing. When I run (define x (cons 3 null)) (write x) ...

Pass a list as parameter function??

I am trying to make a simple function in scheme that finds the largest number in a list. Here is my code: (define ...

Adding an element to List in Scheme?

Below is my code which takes a car element of a list(carVal) and an list(initialized to empty) as parameters. I want...

Scheme how to create a list?

Okay this may sound like a ridiculous question, but how do you return a list in scheme.? ...

How to Reverse a List??

What is the function to a list in Scheme? It needs to be able to handle nested lists. So that if you do something l...

What is caddar in scheme?

I am trying to understand what caddar is in scheme. My notes say that it is a nested version of car or cdr, but it d...

Scheme - car/cdr on empty list?

I wrote a big program that use car and cdr, and do: (map car (append (map caddr lists) (map cadr lists)) When lis...

How do I pass a list as a list of arguments in racket??

I have a statement like this: ((lambda (a b c) (+ a b c)) 1 2 3) ; Gives 6 And I would like to be able to also p...