Expand description
HM-style type inference and constraint solving (spec §3.4).
Structs§
- Inferred
Sig - Numeric
Coercion - Inserted
int→float(or explicitas) recorded for CIR / reveal (#112). - Rust
Extern Sig - Declared
extern rustfunction used to type imported crate items (#116). - Type
Checker - Typed
Crate
Enums§
Functions§
- format_
sig - format_
ty - is_
arith_ bound - Prelude arithmetic traits inferred from
+-*/(spec §15.4). - rust_
import_ returns_ result - Whether a known
rust = trueimport returns RustResultand should lower via Crisp?/ ambient errors (spec §14.2) instead of panic.expect. - rust_
op_ bound - Prelude operator trait →
std::opsbound (spec §15.4). - subst_
named