hazelgrove / hazel

Hazel, a live functional programming environment with typed holes
http://hazel.org/
MIT License
684 stars 45 forks source link

Allow speculative execution beyond pattern holes #1280

Open cyrus- opened 2 months ago

cyrus- commented 2 months ago
let ? = 2 + 2 in 
3 + 3

currently gets stuck because we don't know how the hole will be filled, but perhaps we could speculatively execute assuming that the pattern hole will be filled irrefutably (need to be careful about soundness wrt fill-and-resume here)