ramanbaidwan94170
ramanbaidwan94170 ramanbaidwan94170
  • 01-08-2021
  • Computers and Technology
contestada

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

Respuesta :

sk5634943
sk5634943 sk5634943
  • 01-08-2021

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:

Answer Link

Otras preguntas

What is the sum of 6 and g then g is added to 6
Kairi spent $40.18 on CDs. Each CD cost the same amount. The sale tax was$2.33. Kairi also used a coupon for $1.00 off his purchase. How much did each CD cost?
After the 1950s Cold War hysteria was at its height. Choose 4 events that increased international Cold War Tensions An increase in nuclear weapons by both the U
How do Brutus's moral dilemmas in each excerpt compare? in both excerpts, Brutus is concealing a significant secret from a person he loves In both excerpts, Bru
what is the answer to 6m + 7(7m + 9)
I really need help someone !
Why are methanol and acetone not suitable solvents for extracting organic compounds from aqueous solutions?
Who is the ocean a symbol of in macbeth?
Why is right here not an adverb?
I’m trying to find the number of representative particles in 0.4 mol KCL what is my first step?