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 of the following oxides can dissolve in water to form a solution that would turn litmus indicator red in color? a. MgO b. K₂O c. CO₂ d. ZnO e. H₂O
1,352 pounds is what fraction short of a ton? A) 169/250             B) 77/100               C)13/20             D140/223
What is 68 divided by the square root of 4
Over what period of time would you expect to see large changes in mountains,canyons,and similar features of the earth?
Help??? What is 3x+5x=67y?
Jonathan has been on a diet since January 2013. So far, he has been losing weight at a steady rate. Bases on monthly weigh-ins, his weight, w, can be modeled by
which expression is equivalent to x^4-y^4?
Which of the following molecules has polar bonds but is a nonpolar molecule? a. H₂ b. H₂O c. NH₃ d. NaCl e. CO₂ Can anyone explain this one?
do you know how to say my in Spanish?
what does the zeppelin