Brisbane Functional Programming Group - June 2014

Yorgey Lecture V by Fraser Tweedale

Computer Science, Technology

Submit new post
Thank you for posting.
Share it:

All programmers know that different data types can have common attributes. Apples and oranges may not be comparable, but they both have weight, can be peeled, and so on. And if you had a basket of fruit you might want to count the fruit or sort items by weight. Even though the basket could be full of apples, oranges or even bananas, the same operations apply.

This month's lecture covers parametric polymorphism and type classes. We will see how parametricity provides strong guarantees about the behaviour of a function, and how type classes can be used to define functions that apply to disparate types. Type classes will be compared to classes in other languages, and we will meet some of Haskell's common type classes and learn how to use them with our types, as well as how to define new type classes.

'Write Yourself a Scheme' in 48 hours by Sean Chalmers

A dive into the experience of creating a Lisp implementation in Haskell.

Taken from the book of the same name, this presentation will provide some insight into what is needed to get started, how to avoid some pain along the way, and why undertaking this project is a good idea for anyone looking to hone their Haskell skills.