Actions as data by Alejandro Serrano

November 9, 2022


We often see data and behaviours as two separate worlds. But what happens when your domain requires you modelling behaviours or processes? In this talk we’ll look at how to use data types with functions in their fields to model a small card game. We’ll start with Kotlin, and at the end we’ll see how some of the patterns can be further abstracted in Haskell.

Alejandro Serrano Mena
Alejandro Serrano Mena is a trainer and engineer at 47 Degrees / Xebia. He’s had a decade of experience in the field of functional programming, both in academia and industry. His journey started in Haskell, but in the last years he’s been working more and more with Kotlin. He’s written four books, the most recent one being “FP Ideas for the Curious Kotliner”.
https://www.linkedin.com/in/alejandroserranomena/
https://twitter.com/trupill

Check out more from the MeetUp Func Prog Sweden. Func Prog Sweden is the community for anyone interested in functional programming. At the MeetUps the community explore different functional languages like Erlang, Elixir, Haskell, Scala, Clojure, OCaml, F# and more.