Typed Racket
![]() This commit allows definitions without type annotations to refer to definitions later in a module that do have type annotations. For example, (define (f x) (g 0)) (: g (-> Integer Integer)) (define (g x) (add1 x)) Previously, such cases required shuffling type annotations and/or definitions around to satisfy the type-checker. Note that typechecking may still depend on ordering when there are not enough type annotations in the code. Closes PR 11544 original commit: 343ac526073ab8c2520399316e5391452f3f7dc0 |
||
---|---|---|
pkgs/typed-racket-pkgs |