Typed Racket
Go to file
Asumu Takikawa 573f6506b3 Use a new approach to generating Name contracts
This handles contract generation for recursive or
mutually recursive Name types in the static contract
framework.

Instead of just generating recursive-sc static contracts,
it memoizes the recursive contract within a single
type->contract call by indirecting through a table.

When static contracts are instantiated, the table is
consulted for computing contract kind information and for
generating the actual contracts for the recursive names.

original commit: 608dfcf3356fb4957331dc7c140b9ac176d36991
2014-10-21 10:14:50 -04:00
pkgs/typed-racket-pkgs Use a new approach to generating Name contracts 2014-10-21 10:14:50 -04:00