|
|
Referential Transparency - Practical Aspects |
We will illustrate the idea of referential transparency in the context of practical Scheme Programming |
| Rewriting an expression in various ways - use of referential transparency. |
A copy of some data can be used as a substitute for the original data A value of an expression can be used as a substitute for the expression itself A 'more complicated expression' can be used as a substitute for 'the original expression' |