47 Degrees joins forces with Xebia read more

Scala Love Conference

Scala Love Conference

Join Rebecca Mark, a senior software engineer from our team, on April 18th at the Scala Love conference, where she’ll demonstrate how comonads can be encoded in Scala, using the Game of Life as an example.

Comonads and the Game of Life

Have you heard of Conway’s Game of Life? How about comonads?

Let’s put these two things in conversation and implement the Game of Life in Scala!

In this talk, we’ll shine the spotlight on the lesser-known dual of the Monad: the Comonad. If you’ve ever wondered where comonads are useful, or simply what they are, this talk is for you! First, we’ll introduce the concept of a comonad with commonplace data structures. We’ll also demonstrate how comonads can be encoded in Scala, and finally we’ll show how the Game of Life is an example of a domain in which the properties of comonadic computation are elegant and powerful. Also, in light of current events, we’ll talk a bit about how comonadic computations encode cellular automata more broadly - which can be used in disease modeling.

Register for this FREE virtual conference here.

Get in touch

Increase the speed of your applications using far less code in a secure and fault-tolerant environment. Modernize the way your applications run with a consulting engagement with 47 Degrees.