全部书籍

专业

应用 关于 Coach 登录 开始阅读

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

Computer Science · 术语表

什么是 Typing context, judgement, rule, derivation?

又称: typing context · typing judgement · typing rule · typing derivation

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

A typing context Γ\Gamma is a finite list of bindings x:τx : \tau of variables to types; a later binding of a name hides an earlier one. A typing judgement Γ⊢e:τ\Gamma \vdash e : \tau asserts that in the context Γ\Gamma, the expression ee has type τ\tau. A typing rule derives a judgement from others, its premises. A typing derivation is a finite tree of rule applications whose root is the judgement it proves.

在原文中阅读 →