![]() This PR adds about half of the needed primitives and logic for reasoning about linear integer arithmetic in programs with interesting dependent types. Things have been added in a way s.t. programs will still continue to typecheck as they did, but if you want integer literals and certain operations (e.g. *,+,<,<=,=,>=,>) to include linear inequality information by default, you need to include the '#:with-linear-integer-arithmetic' keyword at the top of your module. The other features needed to get TR to be able to check things like verified vector operations will be to ajust function types so dependencies can exist between arguments and a minor tweak to get type inference to consider the symbolic objects of functions arguments. These features should be coming shortly in a future pull request. |
||
---|---|---|
source-syntax | ||
typed-racket | ||
typed-racket-compatibility | ||
typed-racket-doc | ||
typed-racket-lib | ||
typed-racket-more | ||
typed-racket-test | ||
.gitignore | ||
.travis.yml | ||
issue_template.md | ||
README.md |
Typed Racket
Typed Racket is Racket's gradually-typed sister language which lets you add statically-checked type annotations to your programs. For more information, see the Typed Racket Guide.
Installation
Typed Racket is bundled in the default Racket distribution, which you can download from Racket's download page.
You can also manually install it from the main package catalog with the following command:
raco pkg install typed-racket
Documentation
- Guide: http://docs.racket-lang.org/ts-guide/index.html
- Reference: http://docs.racket-lang.org/ts-reference/index.html
The documentation is also bundled in your local copy of Typed Racket.
Copyright (c) 2010-2015 PLT Design Inc.
This package is distributed under the GNU Lesser General Public License (LGPL). This means that you can link this package into proprietary applications, provided you follow the rules stated in the LGPL. You can also modify this package; 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 http://www.gnu.org/copyleft/lesser.html for more information.