![]() The previous for/fold/derived examples in the docs incorrectly expanded, placing the entire body of the user defined for loop into a let expression inside of for/fold/derived. This meant that break clauses (i.e. #:break or #:final) that appeared in the body of the user-defined for loop were not visible to the underlying for/fold/derived macro after expansion and therefore usages of #:break or #:final incorrectly resulted in syntax errors (since with the incorrect expansion, they were seemingly misplaced keywords inside of a let). With this PR the for/fold/derived examples in the docs now expand correctly into a form that mirrors the actual expected syntax of for loops: (user-defined-for (for-clause ...) body-or-break ... body) ==(now expands more or less into)==> (for/fold/derived (for-clause ...) body-or-break ... body) Or in other words, the body of the user defined for loop now correctly expands directly into the body of for/fold/derived. |
||
---|---|---|
pkgs | ||
racket | ||
.gitattributes | ||
.gitignore | ||
.mailmap | ||
.travis.yml | ||
appveyor.yml | ||
INSTALL.txt | ||
Makefile | ||
README.md |
This is the source code for the core of Racket. See "INSTALL.txt" for full information on building Racket.
To build the full Racket distribution from this repository, run make
in the top-level directory. To build the Minimal Racket, run make base
.
The rest of the Racket distribution source code is in other repositories under the Racket GitHub organization.
Contribute to Racket by submitting a pull request, joining the development mailing list, or visiting the IRC channel.
License
Racket Copyright (c) 2010-2017 PLT Design Inc.
Racket is distributed under the GNU Lesser General Public License (LGPL). This implies that you may 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 states that you must release the source code for the modified software.
See racket/src/COPYING_LESSER.txt for more information.