Typed Racket
Go to file
Sam Tobin-Hochstadt ed1696b221 Avoid requires of contracts when they're not used.
This changes when various libraries that provide contract
support to possible contracted bindings to declare when
those bindings are needed.

Probably, each static-contract combinator should manually
add to the list, instead of having one fixed static list,
but this is a start.

Saves about 10ms in startup for an empty TR module on my
laptop.

Thanks to Robby for the idea.

original commit: 8ea8c54eb47faac7c0d8bcd868a9b12f8ea2e142
2014-10-28 12:04:49 -04:00
pkgs/typed-racket-pkgs Avoid requires of contracts when they're not used. 2014-10-28 12:04:49 -04:00