Gradual Typing with Inference
Jeremy Siek University of Colorado at Boulder
Gradual Typing with Inference Jeremy Siek University of Colorado - - PowerPoint PPT Presentation
Gradual Typing with Inference Jeremy Siek University of Colorado at Boulder joint work with Manish Vachharajani Overview Motivation Background Gradual Typing Unification-based inference Exploring the Solution Space Type
Jeremy Siek University of Colorado at Boulder
complimentary strengths.
checking, efficient execution, and machine-checked documentation.
development and fast adaption to changing requirements.
4
4
4
5
6
6
6
6
6
6
6
7
7
7
8
9
9
int ~ int int ~ bool
? ~ int
int ~ ?
? → bool ~ ? → int
10
int → ? ~ ? → bool
11
12
13
14
15
16
17
17
17
17
17
18
19
20
20
20
21
22
22
23
24
25
26
27
27
27
28
29
29
30
31
32
33
34
35
35
36
37
37
?
37
?
37
?
37
?
37
37
38
& Drossopoulou)
Cartwright, Flanagan & Felleisen, Aiken & Wimmers & Lakshman)
39
40
41
42
42
43
44
45
46
46
2 var
var 1
?
46
2 ? var 1
? var
46
2 ?
?
46
2 ? int ?
46
int 2 ?
46
? int 2 ?
46
int 2
46