
Most unit forms are supported, including most of the "infer" forms that infer imports/exports/linkages from the current context. Notably, none of the structural linking forms for units are supported, and `define-unit-binding` is also currently unsupported.
6 lines
101 B
Racket
6 lines
101 B
Racket
#;
|
|
(exn:pred #rx"type mismatch")
|
|
#lang typed/racket
|
|
|
|
(define-values/invoke-unit 1 (import) (export))
|