Join us for a beginner-to-intermediate level Haskell webinar from Alejandro Serrano.
Have you ever wondered whether Haskell’s deriving fallacy could be used not only to write boring Eq and Show instances but something fancier? Well, it can by using the power of data type generic programming!
This 3-hour workshop will guide you through the shadows of one of the most interesting features of GHC. After this workshop, you’ll have a better understanding of the structure of data types, and how you can leverage that information to create functions that work over that structure. You can provide new items for the deriving list in your own library.
The workshop provides not only explanations, but also exercises for you to follow along. The rough schedule is as follows:
- Me: Representing Haskell data types - the Generic type class
- You: Writing some representations by hand
- Me: Writing data type generic functions
- You: Define your first type class with defaults
- Me: Making good use of metadata
- You: Define your second type class, using metadata
- Me: Other approaches to generic programming
A Q&A session will immediately follow the webinar - please add your questions throughout the webinar to the Q&A section, not chat.