Finished implementing real Damas-Hindley-Milner type system with let polymorphism!

This commit is contained in:
Nathan Braswell
2021-01-24 23:10:27 -05:00
parent 0a056ebef2
commit ed3b2ce743
3 changed files with 42 additions and 10 deletions

View File

@@ -1,2 +1,2 @@
#lang (with_import "./types.kp" stlc) stlc_start_symbol
(\ x . (+ x 1337) 12)
let id = \ x . x in ((id println) (id "woo"))