Question: Indicate ALL syntax errors of each SML statement and try to correct. Eg . [ 3 , 1 = 2 ] answer 1 = >

Indicate ALL syntax errors of each SML statement and try to correct.
Eg.[3,1=2]
answer 1=> type mismatch for a list, 3 has to be boolean.
answer 2=> type mismatch for a list, 1=2 has to be int such as 1+2.
answer 3=> different type of values, can not be list, tuple instead (3,1=2)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!