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
7c89ac87
Commit
7c89ac87
authored
Sep 28, 2021
by
Giuseppe Castagna
Browse files
typos
parent
f8de7536
Changes
2
Hide whitespace changes
Inline
Side-by-side
practical.tex
View file @
7c89ac87
...
...
@@ -25,9 +25,9 @@ types. \rev{CDuce is used as a library to provide set-theoretic types and
semantic subtyping. The implementation faithfully transcribe in OCaml
the algorithmic system
$
\vdashA
$
as well as all the type operations
defined in this work. One optimization that our implementation
features (w
.r.
t to the formal presentation) is the use of a
features (w
ith respec
t to the formal presentation) is the use of a
memoization environment in the code of the
$
\Refine
{
e,t
}{
\Gamma
}$
function, that a
llows to avoid several
traversal of
$
e
$
.
function, that a
voids unnecessary
traversal
s
of
$
e
$
.
}
\subsection
{
Experiments
}
...
...
@@ -262,7 +262,7 @@ let get_property_l =
\end{alltt}
where
\code
{
\textit
{
S
}}
is
\code
{
Object
}
and
\code
{
\textit
{
T
}}
is
\code
{
Any
}
.
\subsection
{
Comparison
with
\cite
{
THF10
}
}
\subsection
{
Comparison
}
\input
{
code
_
table2
}
In Table~
\ref
{
tab:implem2
}
, we reproduce in our syntax the 14
...
...
related.tex
View file @
7c89ac87
...
...
@@ -256,7 +256,7 @@ of Dminor refines the type of each branch by remembering that $e$
(resp.
$
\lnot
e
$
) is true in
$
e
_
1
$
(resp.
$
e
_
2
$
) and this information
is not propagated to the outer context.
A similar approach is taken by
\citet
{
Chugh12
}
, and extended to so-called nested refinement types. In these types, an arrow type may
appear in a logical formula (where previous work only allowed formulae
appear in a logical formula (where
as
previous work only allowed formulae
on ``base types''). This is done in the context of a dynamic
language and their approach is extended with polymorphism, dynamic
dispatch and record types.
...
...
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