1.

Determining The Type Of Conditionals?

Answer»

The type of a conditional expression depends on the type of the VALUES of the CLAUSES of the conditional. But what if different conditionals evaluate to values that belong to different types. For EXAMPLE, the value of (if x 3 #f) depends on the value of x: MIGHT be 3 and might be #f.

The type of a conditional expression depends on the type of the values of the clauses of the conditional. But what if different conditionals evaluate to values that belong to different types. For example, the value of (if x 3 #f) depends on the value of x: might be 3 and might be #f.



Discussion

No Comment Found