Referential transparency

What is the meaning of the term “unobservable” when used in context with the term “referentially transparent” in functional programming?

+5
source share
1 answer

As you may know, the term “referentially transparent” means that the meaning of an expression can depend only on the meanings of its parts, and not on any other facts about them.

For example, it cannot depend on the following:

  • Whether some part of the expression is determined or not (in lazy language)
  • Are two equal values ​​available (pointers to the same place in memory) or not
  • (.. )

, , . , .

- reddit .

+12

All Articles