Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Giuseppe Castagna
occurrence-typing
Commits
be84e325
Commit
be84e325
authored
Jun 24, 2019
by
Giuseppe Castagna
Browse files
First version of new language section
parent
cbf16e4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
language2.tex
0 → 100644
View file @
be84e325
In this section
\subsection
{
Types
}
\subsection
{
Syntax
}
\subsection
{
Dynamic semantics
}
uses type schemes?
\subsection
{
Static semantics
}
\subsection
{
Algorithmic system
}
3 ingredients:
\begin{enumerate}
\item
type of functions -> type schemes
\item
elimination rules (app, proj,if) ->operations on types and how to compute them
\item
Compute the environments for occurrence typing. Algorith to compute
$
\Gamma\vdash\Gamma
$
\end{enumerate}
Next we can give the algorithmic typing rules
\subsubsection
{
Type schemes
}
change the definition of typeof to take into account type-schemes for lambda abstractions
\subsubsection
{
Operators on types
}
\paragraph
{
Declarative version
}
\paragraph
{
Algorithmic version
}
\subsubsection
{
Type envs for occurrence typing
}
\subsection
{
Algorithmic typing rules
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment