Typed Racket
Go to file
Sam Tobin-Hochstadt b12f0ba53c Use the new syntax properties for checking keyword functions.
Previously, some hacks were used to obtain the internal
identifiers that implemented keyword functions directly, and
give them types at startup.  Now, the primary "function"
(eg, `sort`) is given a type, and when used, the residual
syntax properties are used to find `sort` from the real
functions, and then the type of the real function is computed
from the type of `sort`.

Some creativity was required in the types of functions which
take optional arguments that when present, alter the return type,
such as `regexp-match*` and `file->list`.

original commit: a377c4235743296e337db64341c8518fc7dce965
2012-06-01 18:37:02 -04:00
collects Use the new syntax properties for checking keyword functions. 2012-06-01 18:37:02 -04:00
doc/release-notes/typed-racket Typed Racket HISTORY for 5.2.1. 2012-01-24 10:49:42 -05:00