Subscribe to
Posts
Comments

Archive for the 'haskell' Category

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 300 per day in the two months since I switched from Blosxom to WordPress. Perhaps one [...]
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 it. It’s well worth a look. (How did I find Pancito? Because I was playing with [...]
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 appealing is the fact that it generates recursive-descent parsers that are easy to read and [...]
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 them for consideration via the byzantine Extras review process. If you’re a Haskell hacker and [...]
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 MathWorld above (with curves of order 2 through 6). If you pick a point p from within [...]
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 was to try reading some tutorials. If you’ve looked, you may have noticed that the web [...]
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 of information on how to obtain and install third-party software packages. So here’s my little contribution, [...]
I’ve lately become interested in the Haskell programming language again, after a long time (eleven years!) away from the fold. During the process of thrashing about and trying to find my footing, I discovered a new module, named Data.ByteString, which makes dealing with strings in Haskell both sane and impressively fast. So I started to [...]

« Prev