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

Which word in the sentence is an indirect object?Choose all answers that are correct.Give Ben and his cousins a snack before bedtime.  A.cousins  B.snack  C.Ben
A professional baseball team won 84 games this season.  The team won 14 more games than it lost.  There were no ties.  How many games did the team lose?  How ma
Tell the value of the underlined digit 17,874,000,000 the 1 is underlined
If 3 and 4 are magnitudes of vector quantities, when will the magnitude of their sum be 5?
Pollution is the only way that humans can cause changes to ecosystems. True or false?
what is an integral part of blood, which carries nutrients to all parts of the body
What is elastic rebound
how can i solve 5.5x+32=57
what is breaking apart of 6x6
In what ways is the Holy Land an important site for all three monotheistic faiths?