Question: Consider the declarations structure Z = struct type t = int; val z = 0 end; structure A = Z : sig type t ;
Consider the declarations structure Z = struct type t = int; val z = 0 end; structure A = Z : sig type t ; val z: t end; structure B = Z :> sig type t = int ; val z: t end; structure C = Z :> sig type t; val z: t end; in the SML Modules language. Explain the behavior of the SML interpreter on inputting each of the expressions Z.z = A.z; Z.z = B.z; Z.z = C.z;
Step by Step Solution
3.45 Rating (155 Votes )
There are 3 Steps involved in it
The detailed answer for the above question is provided below SOLUTION In the SML Modules language th... View full answer
Get step-by-step solutions from verified subject matter experts
