Agenda
- 18:00: Welcome and setup
- Presentation #1: Property Testing in Typescript with fast-check by Dylan Just
- Presentation #2: The Integrated Haskell Platform web framework by Simon Curtis
- 20:00ish: Pack down, exit, head to Criterion pub.
Property Testing in Typescript with fast-check
Property testing is a technique for writing tests using pseudo-random data in a controlled way. It lets you write tests that cover a variety of possible inputs, while removing human bias and finding edge cases that you wouldn't normally think to check. This talk introduces property testing using the fast-check library for Typescript. We'll cover seeds and generators and shrinking, how to turn a unit test into a property test, and some common properties that can be useful to test.
The Integrated Haskell Platform web framework
Are you interested in FP and/or Haskell but don't know how it is used in the "real world"? Do you want to build a web service but don't know how to do it in Haskell? IHP is a Haskell-based framework for building web applications. Blazingly fast, secure, easy to refactor and the best development experience with everything you need - from prototype to production. Packed full of features to allow you to get web services up and running at lightning speed.
In this talk, we will look at the Integrated Haskell Platform and highlight some of the features it has to offer. I will take you through some examples of how to do various useful things you will probably need from a web application, such as adding new API endpoints, adding and querying database tables, authorisation and centering a div. All in Haskell! We will also briefly touch on some of the things I don't like about it, and when I think you should (or shouldn't) use it. Last but not least: I'll briefly show off a feature-rich example project my team has been building in IHP.
This talk is aimed at all levels of FP and Haskell. The IHP framework is very easy to learn and can be used even by those with little or no experience with Haskell.