Sound Default-Typed Scheme (Position Paper)
summary
Proposes a concrete default typing system where each expression carries a plausibility-ranked set of types (rank 0 = common, rank ∞ = impossible), implemented as a Racket macro layer that emits SMT-style constraints and performs lexicographic minimization to pick the weakest plausible rank. Prototype generates efficient code with no runtime checks when defaults hold, and emits concrete counterexamples (via a D3-backed trace) when rank-0 assumptions fail. Current prototype works intra-module and for first-order code; module boundaries and higher-order cases remain unsupported.
AI-written summary · about
