racket/collects/typed-racket/env
Sam Tobin-Hochstadt a377c42357 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`.
2012-06-01 18:37:02 -04:00
..
global-env.rkt Move typed-scheme to typed-racket collection. 2011-09-03 20:49:39 -04:00
index-env.rkt Move typed-scheme to typed-racket collection. 2011-09-03 20:49:39 -04:00
init-envs.rkt Add a field to base types to indicate if they are numeric types or not. 2011-09-13 11:22:24 -04:00
lexical-env.rkt Use the new syntax properties for checking keyword functions. 2012-06-01 18:37:02 -04:00
tvar-env.rkt Move typed-scheme to typed-racket collection. 2011-09-03 20:49:39 -04:00
type-alias-env.rkt Move typed-scheme to typed-racket collection. 2011-09-03 20:49:39 -04:00
type-env-structs.rkt Some selective #:when (not ...)' -> #:unless ...'. 2011-09-16 10:48:18 -04:00
type-name-env.rkt Move typed-scheme to typed-racket collection. 2011-09-03 20:49:39 -04:00