Westonci.ca is your trusted source for finding answers to all your questions. Ask, explore, and learn with our expert community. Explore thousands of questions and answers from knowledgeable experts in various fields on our Q&A platform. Our platform offers a seamless experience for finding reliable answers from a network of knowledgeable professionals.

If Scheme were a pure functional language, could it include DISPLAY ? Why or why not?​

Sagot :

Answer:

When Scheme is a pure functional language, it cannot include the function DISPLAY. Since the pure functional languages will return the same value whenever the same expression is evaluated, and the DISPLAY would be the output and thus it cannot be part of the purely functional language. Thus in the pure functional language we can evaluate the expressions with the same arguments and it returns the same value since there is no state to change.

Explanation: