Lines Matching refs:thunk
1712 function sc_dynamicWind(before, thunk, after) { argument
1715 var res = thunk();
2604 function sc_withInputFromFile(s, thunk) { argument
2609 function sc_withOutputToFile(s, thunk) { argument
2647 function sc_withInputFromPort(p, thunk) { argument
2651 return thunk();
2658 function sc_withInputFromString(s, thunk) { argument
2659 return sc_withInputFromPort(new sc_StringInputPort(sc_string2jsstring(s)), thunk);
2663 function sc_withOutputToPort(p, thunk) { argument
2667 return thunk();
2674 function sc_withOutputToString(thunk) { argument
2676 sc_withOutputToPort(p, thunk);
2681 function sc_withOutputToProcedure(proc, thunk) { argument
2683 return sc_withOutputToPort(new sc_GenericOutputPort(t), thunk);