<

Simon Thompson

Co-author of Erlang Programming (School of Computing, University of Kent)

Researcher, author and teacher, based at the University of Kent. My research has covered many aspects of functional programming, including verification, tool building and testing for Erlang, Haskell and OCaml. I'm author of books on type theory, Haskell and Erlang, and run a MOOC on Erlang for FutureLearn.

Past conferences

Simon Thompson
Code BEAM STO 2018
31 May 2018
13.50 - 14.35

Making It Lazy: never evaluate anything more than once

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.

OBJECTIVES

Learn some advanced functional programming techniques and see how they can be implemented in Erlang.

AUDIENCE

Anyone who would like to learn some neat functional programming tricks to use in Erlang or Elixir.

 

Torben Hoffmann / Kostis Sagonas / Kevin Hammond / Simon Thompson
Code BEAM STO 2018
31 May 2018
17.45 - 18.30
Simon Thompson
Code BEAM SF 2018
16 Mar 2018
14.30 - 15.15

Making It Lazy: never evaluate anything more than once

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.

OBJECTIVES

Learn some advanced functional programming techniques and see how they can be implemented in Erlang.

AUDIENCE

Anyone who would like to learn some neat functional programming tricks to use in Erlang or Elixir.

 

Media

Articles: 1

Making it lazy: never evaluate anything more than once - SLIDES - Code BEAM SF 2018
Simon Thompson

Slides from Simon Thompson's talk "Making it lazy: never evaluate anything more than once" - Code BEAM SF 2018

READ MORE

Videos: 2

Making It Lazy Never Evaluate Anything More Than Once - Code BEAM SF 2018

Making It Lazy: never evaluate anything more than once - Code BEAM STO 2018