Limited monomorphic-only Damas-Hindley-Milner implemented in types

This commit is contained in:
Nathan Braswell
2021-01-24 02:53:55 -05:00
parent f0d3be32f6
commit 0a056ebef2
4 changed files with 86 additions and 39 deletions

View File

@@ -1,2 +1,2 @@
#lang (with_import "./types.kp" stlc) stlc_start_symbol
(\ x : int . (+ x 1) 2)
(\ x . (+ x 1337) 12)