Westonci.ca is your go-to source for answers, with a community ready to provide accurate and timely information. Get detailed and accurate answers to your questions from a community of experts on our comprehensive Q&A platform. Our platform provides a seamless experience for finding reliable answers from a network of experienced 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: