Typed Racket
![]() 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 |
||
---|---|---|
collects | ||
doc/release-notes/typed-racket |