Give examples of suitable values for each of the subsequent


Question: Give examples of suitable values for each of the subsequent type expressions. Do not use the empty list as the value for any list component.

((int * int) * (bool list) * real) * (real * string)

So far I have

(((7, 12),([true]),5.0),(8.0, "foo"));

Which provide:

((int * int) * bool list * real) * (real * string)

I can't get parentheses around the bool list. Can somebody provide the answer for given question with example?

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Give examples of suitable values for each of the subsequent
Reference No:- TGS0956264

Expected delivery within 24 Hours