The Racket repository
![]() - Now the faster forms take a #:length keyword to designate the length of the vector to pre-allocate. - The for/[fl]vector forms take multiple body expressions and set the vector component to the value of the last one. - When given a #:length argument, the for/vector and for/flvector forms check that the iteration is not exceeding the given length, raising exn:fail if it does. - Test cases for the multiple body expressions and the exception for excessive iterations have been added. - Doc modifications to bring the docs in line with the new forms. - Doc modifications to note that the #:length versions of the form *may* all the computation to be performed more efficiently, and stating that it "is an error" if the given length-expr does not produce a valid length for a vector that matches the number of iterations for the loop. - Note that no test is made for a number of loop iterations that is smaller than the given vector length. Also, the for*/[fl]vector forms do not optimize when given a #:length argument. These are areas for future improvement. |
||
---|---|---|
collects | ||
doc | ||
man/man1 | ||
src | ||
.gitattributes | ||
.gitignore | ||
.mailmap | ||
README |
The Racket programming language =============================== Important executables: * DrRacket: Racket's integrated development environment (start here!). * Racket: the main command-line entry point for running racket programs and scripts. * GRacket: the GUI-enabled Racket executable. * raco: Racket's command-line toolset. More Information ---------------- Racket comes with extensive documentation: use DrRacket's `Help' menu, or run `raco docs'. Also, visit us at http://racket-lang.org/ for more Racket resources. Instructions for building Racket from source are in src/README. License ------- Racket Copyright (c) 2010 PLT Scheme Inc. Racket is distributed under the GNU Lesser General Public License (LGPL). This means that you can link Racket into proprietary applications, provided you follow the rules stated in the LGPL. You can also modify Racket; if you distribute a modified version, you must distribute it under the terms of the LGPL, which in particular means that you must release the source code for the modified software. See doc/release-notes/COPYING.LIB for more information.