Info

You are currently browsing the archives for the Haskell category.

May 2012
S M T W T F S
« Apr    
 12345
6789101112
13141516171819
20212223242526
2728293031  
Categories

Archive for the Haskell Category

My first Haskell application

As I mentioned in my previous post, I had quite a bit of fun trying to get various Haskell tools to work with Windoze NT 4.0. The way I eventually solved this problem is simple. Obviously I’m only the IT guy, so I don’t merit a new PC. But there’s an old unused Pentium IV laptop sat next to my desk. It’s been there for years. Used to belong to somebody but they left the company. Anyway, I plugged that in on a vacant desk down the corridor, enabled remote RDP access, and spent the whole afternoon at work running an RDP session to this PC as my development box! :-D

Read the rest of this entry »

Writing parsers with Parsec

Parsec is a parser library for Haskell. In this article, I’m going to show you how to write parsers with it. This article assumes little or no Haskell knowledge…

Read the rest of this entry »

Marvelous monads

This is a nice, low-theory introduction to that most over-tutorialised feature of Haskell, monads. What they are, how you use them, why we care, etc.

Read the rest of this entry »

Introducing Haskell (low-theory version) Part III

In this, the last section, we’re going to look at going I/O in Haskell…

Read the rest of this entry »

Introducing Haskell (low-theory version) Part II

OK, let’s pick up from where we left off by talking briefly about the Haskell type system…

Read the rest of this entry »

Introducing Haskell (low-theory version) Part I

There are many ways to introduce Haskell. This article takes the “I just want to write programs!” approach. Lots of examples, very little theory.

Read the rest of this entry »

Haskell vs Java

Here I present some Haskell and Java code snippets.

Read the rest of this entry »

The theory of Haskell

There are many ways to introduce Haskell. This article takes the theoretical approach. (There’s very little code in this article.)

A program written in C is composed of “functions”. A program written in Haskell is composed of “functions”. A runnable C program has a special function named “main()“. A runnable Haskell program also has a “main” function. Read the rest of this entry »