3 ms·
I think the most likely solution would come from a language extension to something like Coffeescript. It could work similar to the async monad in F#: #asnc x
by statictype 16y ago
I think the most likely solution would come from a language extension to something like Coffeescript.
It could work similar to the async monad in F#:
#asnc x = () ->
var f = window.menu("file");
var m = f.openmenu();
m.click();
would unwind as:
window.menu("file",function(f) {
f.open(function(m) {
m.click();
});
});