Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upImplement 'Let Arguments Go First' #76
Comments
brendanzab
added this to the v0.2.0 milestone
Jun 12, 2018
brendanzab
referenced this issue
Jul 7, 2018
Open
Implement examples based on 'Let Arguments Go First' #19
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
brendanzab commentedJun 5, 2018
•
edited
Edited 2 times
-
brendanzab
edited Jul 7, 2018 (most recent)
-
brendanzab
edited Jul 7, 2018
-
brendanzab
created Jun 5, 2018
It would be nice to improve the bidirectional type checking algorithm to also pull information from the arguments. This could also help us eventually implement implicit arguments (see #8). A nice approach for doing this was given in the paper Let Arguments Go First. In the introduction the authors state (emphasis added):
In section 3 (the Hindley-Milner example) of the paper they show the application context pulling type information from the arguments in order to fill in the 'hidden type arguments' via the subtyping rules. Perhaps we could do something similar!
Resources