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

ABSOLUTE VALUE! What is the absolute value of -7?
Advantages of flow production
what is the average speed of a train that covers 80 km in 1 hour, 200 km in 2 hours and 420 kn in 4 hours
Which part of the scientific cycle does the graph directly represent? Experiments Explanations Questions Facts
Why did Adolf Hitler and other Germans seek to “demand vengeance” after the end of World War I?
is art. A graphic designer develops a campaign poster for a politician. The purpose of this art is
1. Here is a map that shows parts of Texas and a. About how far is it from Amarillo to Oklahoma City? b. Driving at a constant speed of 70 miles per hour, will
Solve the equation for the indicated variable. A=r+rvf, for v
Plsss help me with this!!!!
What is Viscosity and what is oxidation