Archive for the 'Haskell' Category

Project Euler

Since they’ve just revamped their website, I thought it was probably about time I mentioned Project Euler.

Rendering the Mandelbrot Set using Haskell and wxWidgets

In this article I’ll show how to render the Mandelbrot set using Haskell, displayed in a window using wxWidgets / wxHaskell.

Reading Haskell – Part 4

In the last three articles I covered the overall structure, lexer, and parser of a simple expression evaluator. This articles concludes by presenting the evaluator and main loop. At this stage we are able to take a string, tokenize it, and then build a tree representing the expression. We now need to be able to [...]

Reading Haskell – Part 3

Previously I covered the top-level structure and lexical analysis parts of my simple expression evaluator in Haskell. In this article I’ll cover the parser: converting a stream of tokens into an expression tree.

Reading Haskell – Part 2

Last article I started presenting a simple expression evaluator written in Haskell, a strongly-typed, functional, compiled language. In this article I’ll cover lexical analysis of the expression we want to evaluate.

Reading Haskell – Part 1

I’ve been playing around with Haskell recently, following the recent web publication of the excellent guide “Learn You a Haskell for Great Good!“. Rather than try to attempt to explain the language in detail, I thought I’d give a thousand-foot view – not a tutorial, but a general overview of what Haskell is like to [...]