Questions tagged [scheme]

Scheme is a functional programming language that is a dialect of Lisp. It has a minimalist design with a standard specification and many implementations.

61 questions
83
votes
11 answers

Why is Scheme my first language in university?

I hear about C, C++, Java every day whenever people starting talking about computer science, but in my first computer science class we are asked to write in Scheme (DrRacket). Why is that? What differences will this make to my future understanding…
Erica Xu
  • 1,131
  • 1
  • 8
  • 12
4
votes
1 answer

"Final" Scheme REPL definitions: how to save them?

Is there a way to show and save all "final" definitions entered into a Scheme REPL into a text file? Say, if I have defined in the REPL: (define (increase x) (+ 1 x)) (define (multbytwo x) (* 3 x)) ; let us say this was an error (define…
Aeneas
  • 123
3
votes
3 answers

Scheme Stream Implementation

After working my way through SICP I decided to work though some Project Euler problems using scheme. In this particular problem I am trying to generate an infinite stream of integers however I am recieving an error from the MIT Scheme…
Garee
  • 141
2
votes
1 answer

Is R6RS backwards compatible with R5RS?

Is the new Scheme standard, R6RS which was published in 2007, backwards compatible with the older standard R5RS? If not, is there a compatibility mode in R6RS?
1
vote
1 answer

What is the meaning of # in R5RS Scheme number literals

There is a partial answer on Stack Overflow, but I'm asking something a teeny bit more specific than the answers there. So... Does the formal semantics (Section 7.2) specify the meaning of such a numeric literal? Does it specify the meaning of…
ikmac
  • 490