Rewrote using unification-fd. Heavily inspired (aka copied) from:

https://byorgey.wordpress.com/2021/09/08/implementing-hindley-milner-with-the-unification-fd-library/
This commit is contained in:
sebastianselander 2023-02-16 16:37:36 +01:00
parent f1b77a7efa
commit eafe0fea0b
5 changed files with 314 additions and 21 deletions

View file

@ -1 +1,3 @@
test f x = f x
apply w x = \y. \z. w + x + y + z ;
main = apply 1 2 3 4 ;