logoalt Hacker News

dmeadtoday at 3:02 AM1 replyview on HN

Is this what the fp community calls referential transparency?


Replies

Jtsummerstoday at 3:09 AM

Very similar, referential transparency is the ability to replace a function call (or expression, generally) with its result (or value). So using an array (or other tabling mechanism) you can take advantage of this to trade off space for time.