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

Please I’m being timed!! 10 POINTS!
What is the pH of a 5.41g of HNO3 in 7L of solution (mass of HNO3=63.02g) A) 3.56 B) 2.88 C) 2 D) 1
PLZ EXPLAIN FOR BRAINLIEST
Explain what Japan did when it forced the Americans out of the Philippines.
What happened to esperanza at the carnival
Which event has a probability other than 1/2 ? flipping a coin with the result of tails choosing a vowel from a bag of tiles that contains one of each letter of
How are the frequency and period of a wave related to each other?
The Earth belongs to the group of rocky planets that orbits between the sun and the asteroid belt. Place these planets in order, starting closest to the sun.
F= C × 9/5 + 32F = 100 × 9/5 + 32​
Do you believe normalizing relations with China was a smart political decision?