A type system is safe for a semantics if a well-typed closed program never reaches a stuck term. It is usually proved in two parts. Progress: a closed well-typed term is a value or can take a step. Preservation: if and , then . The canonical forms of a type are the shapes of its closed values.
书籍暂未推出简体中文版——当前显示英文版。
Computer Science · 术语表
什么是 Type safety, progress, preservation?
又称: type safety · progress · preservation · canonical form