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