What is Referential Transprency in Erlang
Ask by Anonymous User
Updated 18 Sep 2020
Functions always returning the same result for the same parameter is called referential transparency. It's what lets us replace add_two_to(3) with 5, as the result of 3+2 will always be 5.