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

Show that n^2-1 is divisible by 8,if 'n' is an odd positive integer.
reason for adopting democracy in Libya,Egypt,Nepal and Bhutan?
What Is a Zionist? Please help me :)
Ryker is given the graph of the function y= 1/2x^2 - 4 . He wants to find the zeros of the function but is unable to read them exactly from the graph. Find the
Give five rational numbers lying between 3/5 and 4/5. Insert six rational numbers between 3 and 4.
what muscles are involved when you're tying your shoe laces
Is Obesity Really a Big Problem in America? Please help me :)
What is the World's Largest Rainforest?
simplify as much as possible.Assume that all variables represent positive real number4x√32xv^2 + v√2x^3
A soccer team played 160 games and won 65 percent of them. How many games did it win ?