3 ms·
It's interesting they use the term "hole". Idris, a functional dependently-typed language, also uses the term for a similar concept - you can leave parts of th
by icebraining 9y ago
It's interesting they use the term "hole".
Idris, a functional dependently-typed language, also uses the term for a similar concept - you can leave parts of the program "undefined" and still have it type-check, and it can even do some attempts at "auto-programming" by checking what code would fill the expected type of the Hole. And you don't have to tell it the name of the function, so I'd say it's strictly better at this, despite not being its major goal.
http://docs.idris-lang.org/en/latest/tutorial/interactive.html#proofsearch http://docs.idris-lang.org/en/latest/tutorial/interactive.ht...