Skip to content

Functional thinking: two refactoring exercises in Purescript and Haskell

Photo of Marco Zocca
Hosted By
Marco Z.
Functional thinking: two refactoring exercises in Purescript and Haskell

Details

Let's kick off a new season of Got.Lambda meetups with two talks, by Johan Lodin (github.com/jolod) and Magnus Therning (github.com/magthe).

The speakers will show how to (re)design functional programs in Purescript and Haskell respectively, by taking advantage of the features of the two languages.

Johan's talk : Polymorphism and "abstract base class" in PureScript.
I will walk through a small refactoring I did in PureScript. The result is similar to an abstract base class in a typical OO language, but I will show how it differs and what those differences imply.

Magnus' talk: After a Python meetup on the Gilded Rose Refactoring Kata I found some inspiration and sat down to do it, using the same techniques, but in Haskell. My goal is to redo it (at least most of it), live in front of the audience.

--- Logistics ---
Bring a laptop with a working Haskell and/or Purescript dev environment if you want to follow along!

The hosting company will provide some food and drink.

Call or whatsapp Marco (0762 21 68 47) if either door is closed.

Photo of Got.λ - Göteborg Functional Programming Group group
Got.λ - Göteborg Functional Programming Group
See more events