/Racket-Books

Racket/Scheme exercises from 3 books: "How to Design Programs", "Simply Scheme: Introducing Computer Science" and "Teach Yourself Scheme in Fixnum Days""

Primary LanguageRacket

Logo

Racket/Scheme exercises from 3 books

Screenshots (HTDP)

  • Savannah Tree

Savannah

  • Tetris

Tetris

  • Snake

Snake

  • Cannibals

Cannibals

  • Sierpinski Triangle

Sierpinski

  • Bezier Curve

Bezier

Table of Contents

How to Design Programs

  1. Part I: Fixed-Size Data
  2. Part II: Arbitrarily Large Data
  3. Part III: Scope and Abstraction
  4. Part IV: Intertwined Data
  5. Part V: Generative Recursion
  6. Part VI: Accumulators
  7. Intermezzos

Simply Scheme

  1. Introduction: Functions
  2. Composition of Functions
  3. Functions as Data
  4. Recursion
  5. Abstraction
  6. Sequential Programming
  7. Conclusion: Computer Science

Teach Yourself Scheme in Fixnum Days

  1. Enter Scheme
  2. Forms & Conditionals
  3. Lexical Variables & Recursion
  4. Input & Output
  5. Macros
  6. Structures, Alists, Classes
  7. System Interface
  8. Jumps
  9. Nondeterminism
  10. Engines
  11. Shell Scripts
  12. CGI Scripts