OSCON 2007 - Simon Peyton-Jones - A Taste of Haskell Part II
Creative Commons LicenseThis work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 2.0

Part 2 of 2

Haskell is the world's leading purely functional programming language that offers a radical and elegant attack on the whole business of writing programs. In the last two or three years there has been an explosion of interest in Haskell, and it is now being used for a bewildering variety of applications.

In this tutorial, I will try to show you why programming in Haskell is such fun, and how it makes you think about programming in a new way.

I'm going to use xmonad (http://xmonad.org) as my running example; it's an X11 window manager written entirely in 500 lines of Haskell. Based on xmonad I will show you how to

  • write functional programs
  • test them using QuickCheck
  • write imperative programs
  • call foreign functions
  • use Haskell for scripting applications

I won't assume you know any functional programming at all, but I will assume that you are an experienced professional programmer, so I will move along quite briskly.

From the O'Reilly Media Open Source Convention, July 23, 2007. Video provided by Galois. Slides are available here.

Play episode as :
Exolon said: 2 years ago

That was some great stuff! I didn't fully understand those 4 critical lines of Quickcheck, but hopefully it'll sink in later. I wish he'd talked a little more about the functional programming scene outside Haskell at the end, since he knows a lot about it.

wildgift said: 1 year ago

There's a log of great material here. Too bad I couldn't read the syntax :-) Next time, please leave the camera on the screens and whiteboard when the presenter is talking about the syntax.

Hey! You must be logged in to add comments. Login or Register.
You've reached the newest episode.
You've reached the oldest episode.