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

What is the volume of this right rectangular prism enter your answer in the box 3.5ft 2ft 7ft
GIVING BRAINLIEST! HELP ASAP!! What is the perimeter of this rectangle? A) 2(x^2-x^1)+2(y^2-y^1) B) (x^2-x^1)(y^2-y^1) C) radical: 2(y^2-y^1)(x^2-x^1) D) 4 radi
Please give me the answer
Instead of providing arguments in favor of a political candidate, ads may build political support by associating pictures of the candidate with emotion-evoking
NEED HELP !! BASIC MATH
What was one of Stalin's major goals in eastern Europe after ww2
Ms. Chen is planning to take her camp group on a field trip to Pottery Bayou where each person will create her own piece of art pottery. The regular cost is $2
What is the name of the document that attempted to end conflict in the colonies peacefully?
The time between stimulation of muscle cells and force generation is called
Write log (x^2-9) - log(x+3) as single logarithm.