Please log in to watch this conference skillscast.
In this talk, Robin will use the medium of building a playable Haskell clone of the classic computer game "Pipe Mania" to show how typed functional programming can be applied to create effective domain models and work with them.
You will begin by learning how algebraic data types can model our game and give you control over the size and shape of state spaces. Furthermore, that there are trade-offs between different models and that the best model can vary depending on the task at hand.
Hence, you will explore two separate models suited to implementing different parts of the game program and learn how to work with and translate between these models, starting with simple primitives and building up to implementing the complete game. Finally, the talk concludes by building a view for our model using the HsQML GUI framework in order to make a fully playable and complete application."
YOU MAY ALSO LIKE: