本文为Type Theory and Formal Proof : An Introduction 的笔记,纯个人向(
简单类型(Simple types)
我们从一个类型变量(type variables)的无限集开始:$\mathbb{V}=\lbrace \alpha,\beta,\gamma,…\rbrace$.
所有简单类型的集合$\mathbb{T}$
- 类型变量(Type variable)若$\alpha \in \mathbb{V}$,则$\alpha \in \mathbb{T}$
 - 箭头类型(Arrow type)若$\sigma,\tau \in \mathbb{T}$,则$(\sigma \to \tau) \in \mathbb{T}$
 
即 $\mathbb{T= V\ \mid\ T \to T}$ .
more >>