全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Type inference, principal type?

又称: type inference · principal type

Definition 6.13 University Computer Science — Year 3 · 第 6 章 — Type Systems and Type Inference

Type inference computes a type for an expression whose variables carry no annotations. A principal type of a closed expression is a type of which every type it has is an instance.

在原文中阅读 →