Racket Racket allows programmers to add new syntactic constructs in the same way that other languages permit the formulation of procedures, methods, or classes All you need to do is formulate a simple rule that rewrites a custom syntax to a Racket expression or definition
Racket Documentation Running raco docs (or Racket Documentation on Windows or Mac OS) may open a different page with local and user-specific documentation, including documentation for installed packages
The Racket Guide Chapter 2 provides a brief introduction to Racket From Chapter 3 on, this guide dives into details— covering much of the Racket toolbox, but leaving precise details to The Racket Reference and other reference manuals
Download Racket The distribution includes pre-built, platform-independent bytecode; it installs much faster than plain source, and it is also compatible with fast installs of additional Racket packages
The Racket Reference This manual defines the core Racket language and describes its most prominent libraries The companion manual The Racket Guide provides a friendlier (though less precise and less complete) overview of the language The source of this manual is available on GitHub
Getting Started - Racket The Racket Guide starts with a tutorial on Racket basics, and then it describes the rest of the Racket language Of course, you should feel free to mix and match the above two tracks, since there is information in each that is not in the other
2. 2 Simple Definitions and Expressions - Racket Editors like Emacs offer a Racket or Scheme mode with similar indentation support Re-indenting not only makes the code easier to read, it gives you extra feedback that your parentheses match in the way that you intended
4. 7 Symbols - Racket Symbols in The Racket Guide introduces symbols A symbol is like an immutable string, but symbols are normally interned, so that two symbols with the same character content are normally eq?
5. 1 Defining Structure Types: struct - Racket 5 1 Defining Structure Types: struct 🔗 ℹ Programmer-Defined Datatypes in The Racket Guide introduces struct Creates a new structure type (or uses a pre-existing structure type if #:prefab is specified), and binds transformers and variables related to the structure type
1. 10 Comparators - Racket Compares the given operand-expr s using comparator-expr, returning #true if all of the specified comparisons are true and returning #false otherwise Unlike compare, this form is a macro and allows specifying comparisons with an infix syntax The given operand-expr s are evaluated in left-to-right order with short-circuiting Each operand-expr is evaluated at most once