|
I am having a little difficulty with making a start on the following problem:
Define a function while_break to represent the following control structure: while C1 do begin S1 if C2 then break; S2 od; The function needs four arguments: C1, C2, S1 and S2 and an additional argument for state. Will the function definition for this control structure call the cond function that we defined earlier? What is the additional argument "state"?
|
Look at the higher-order control structures in ML lecture notes by Mike O'Donnell, 2000, Dec 04
to: