Making It Lazy: Never Evaluate Anything More Than Once

0 0

Put some more advanced features of Erlang to work by implementing lazy evaluation. First we find a way of being non-strict, so we only evaluate things by need, and then we find a way of memoising the results. We show how to build infinite, graphical and indeed cyclic data structures, using higher-order functions, macros and ETS tables.

Code BEAM SF 2018

BYE ERLANG FACTORY! HELLO CODE BEAM Welcome to Code BEAM SF conference, formerly known as the Erlang Factory, and lately as the Erlang & Elixir Factory. This is our first edition to embrace a f...