SLIDE 1
A Principled Approach to Ornamentation in ML
Thomas Williams, Didier Rémy
Inria - Gallium
June 15, 2018
1
A Principled Approach to Ornamentation in ML Thomas Williams , Didier - - PowerPoint PPT Presentation
A Principled Approach to Ornamentation in ML Thomas Williams , Didier Rmy Inria - Gallium June 15, 2018 1 Motivation In a statically-typed programming language with ADTs. Imagine we wrote an evaluator for a simple language: type expr = let
1
2
2
2
3
3
3
3
3
3
3
◮ Long ◮ Error prone
3
◮ needs dependent types ◮ and powerful encodings
4
5
6
6
6
7
7
7
7
7
8
8
8
9
9
9
9
9
10
10
10
11
11
11
11
12
12
12
13
13
13
13
14
14
14
15
15
15
16
17
18