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 · Glosarium
Apa itu Type safety, progress, preservation?
Dikenal juga sebagai: type safety · progress · preservation · canonical form