The Racket repository
![]() For some types, (equal? x y) is transformed into (eq? x y) in the resolve phase. This commit adds this transformation to the optimizer phase. This improves constant folding and enable some optimizations that are prevented because equal? can run arbitrary code. Also, transform (eq? #f x) => (not x) and (eq? '() x) => (null? x) to use the type information of x when it's known. |
||
---|---|---|
native-pkgs@b01b7e26d1 | ||
pkgs | ||
racket | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.mailmap | ||
.travis.yml | ||
INSTALL.txt | ||
Makefile | ||
README.txt |
This is the source code for the main Racket distribution. See "INSTALL.txt" for information on building Racket. License ------- Racket Copyright (c) 2010-2014 PLT Design 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 racket/src/COPYING_LESSER.txt for more information.