hi all i am working through the hdtp book,currently creating a simple animation which a moves car from left to right at a rate of three pixels per clo ...
hi all i am working through the hdtp book,currently creating a simple animation which a moves car from left to right at a rate of three pixels per clo ...
If I have a list of char like (cons #\C (cons #\O (cons #\M (cons #\P (cons #\U (cons #\T (cons #\E empty))))))), how can I convert it into a string? ...
I'm using this code but it doesn't create the list the way I want it. (evenList (list 1 2 3 4)) evaluates to (cons 2 (cons 4 '())) in the REPL, but ...
I am trying to animate a word letter by letter using Beginner Student Language on Racket. However, this code gives me an error "function call: expecte ...
I am trying to place a vertically positioned rectangle and another object on an empty-scene using place-images in Beginning Student Language. However, ...
here is my wonderful & working LISP racket "intermediate with lambda" style recursive function to determine the symbol with the highest value of s ...
I have a list of instances of a structure called "contact", which is basically a phone number and the duration a call with them took. I now want to a ...
Design a Racket function named findProperDivisor that takes a natural number and calculates the sum of all its proper divisors. A proper divisor of a n ...
This may be a silly question but I'm completely new to programming. I'm towards the bottom of the Prologue in "How to Design Programs" (2nd ed) and th ...
I'm a newbie working through HTDP2 (Felleisen et al.) on my own but have gotten stuck on question #380 of chapter IV -Intertwined Data. The problem is ...
I am working on a Racket program for a class and I am totally stumped as to how to implement one of the features. The program uses Big-Bang and is su ...
I'm having an issue with BSL. I want to divide my code into separate auxiliary files and use at the beginning to import the separated code into th ...
Here's the data definition of a family tree (FT) from How To Design Programs I designed a function to count all the persons in a particular fam ...
I've been trying to get Breakout to work in Racket, so far the ball bounces from the paddle (paddle is controlled by mouse) and the bricks are present ...
I have the following code: Now I want to have a list that should look like this: (list 22 25 23) or (list 'a 'b 'c) I know that when I call this ( ...
This is a homework assignment so I am not asking for code just guidance. I am new to Racket language and using ISL without lambda. I can't use lambda ...
I have the list of values and want to take first x values from it and create (list (listof first x values) (listof next x values) and so on until this ...
I have the following htdp/bsl program saved as example.rkt: When the above is run using racket example.rkt, the output is as expected (i.e. 2). Ho ...
I'm taking an intro programming class. We use the student languages in DrRacket. Problem: I would like to return a certain value at the end of a big- ...
I have to use DrRacket for this problem but every time I run the code, I get this error message "gcd: this name was defined previously and cannot be r ...