Monthly Archives: January 2007

Parsing a simple config file in Haskell

Even though I wrote my Haskell blog helper tool purely for my own use, I don’t want to store hard-coded strings in it, lest my username and password escape into the wild. This suggests that I need a small config
Posted in haskell, web

Blogging with Emacs and Haskell, part Zero

Since I started using WordPress to host my blog, I’ve generally been fairly pleased with it. Its killer feature has to be Akismet, the built-in spam filter. Akismet has so far killed over 18,000 spam comments for me, or roughly
Posted in haskell, web

Beautiful graphics manipulation (in Haskell, artistic flair required)

During my evening’s Haskell-related Googling, I came across a piece of software called Pancito, written by Andrew Cooke. Pancito is a Haskell package for manipulating images, and Andrew has a beautiful gallery of some of the work he’s done with
Posted in haskell, open source

Playing fast and loose with Parsec for parsing in Haskell

For the past number of years, whenever I’ve needed to write a parser for a language, I’ve turned to Terence Parr’s ANTLR. It’s a wonderful piece of software, far more capable than the old standbys lex and yacc. Just as
Posted in haskell

New Haskell packages for Fedora Extras

Rather than bemoan the state of prepackaged Haskell goodness for Fedora, I’ve started down the path of doing something about it. This morning, I put together new packages for Alex, a Haskell lexer, and Happy, a parser generator, and submitted
Posted in haskell

Attention, the Soviet herring fleet!

From the department of microscopic obsessions of the bourgeoisie: I’ve subscribed to The New Yorker since I first came to the US, over a decade ago. On a mailing list, a correspondent alerts readers to this blog entry, which tickled
Posted in reading

First impressions of darcs: not so hot

I’ve been using darcs recently for some Haskell-related revision control tasks, as it’s the revision control tool of choice for the Haskell community (no surprise; it’s the most widely used Haskell program in existence). However, I can’t say I’ve been
Posted in scm

Two-dimensional spatial hashing with space-filling curves

The Hilbert curve is a fractal space-filling curve that is rather pretty to look at. A Hilbert curve of order n traces a single path over a square of side 2^n units, as you can see in the images from
Posted in haskell, software

Haskell: bootstrapping into a clue about monads

As part of my remedial Haskell learning process, I’ve been getting my feet wet once more with monads. Here are a few notes on the techniques that I’ve tried, and how I’ve fared with them. Not surprisingly, my first step
Posted in haskell

Getting started with installing third-party Haskell packages

Since I’ve been away from the Haskell world for a long time, it’s been interesting to return and observe some surprises about the practical side of working with the language. For me, an early gotcha has been the relative paucity
Posted in haskell, linux