Fakultas Ilmu Komputer UI

Skip to content
Snippets Groups Projects
Commit a83a8637 authored by Sean Gillespie's avatar Sean Gillespie
Browse files

At a type context section

parent 319d1c50
Branches
Tags
No related merge requests found
......@@ -18,6 +18,21 @@ valid values are true and false.
true : Boolean
false : Boolean
## Type Context
A typing context is a sequence mapping free variables to their types [2]. Given
a typing context Γ,
Γ ⊢ t : T
can be read: under the assumptions Γ, t has type T. When the context is
empty, we may omit Γ.
⊢ t : T
To indicate we are adding a mapping to Γ, we use the comma operator.
Γ, t:T ⊢ v : V
# References
1. [System F](https://en.wikipedia.org/wiki/System_F). Wikipedia: The Free Encyclopedia
2. Types and Programming Languages. Benjamin C. Pierce
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment