Tom Lokhorst's blog

Writings from a happy Haskell coder.

Haskell

Why Libraries are better than Frameworks

Thursday, September 23, 2010
By Tom Lokhorst
Why Libraries are better than Frameworks

There are two ways to design an application: based a particular framework, or using libraries. Actually, there are a lot more ways to build applications, including combinations of the two, but let’s just focus on those. First, let’s define the word “framework”. I want to set it apart from what I call a platform.... »

AwesomePrelude presentation (video)

Wednesday, February 10, 2010
By Tom Lokhorst

Last monday (February 8, 2010) Sebastiaan Visser and I presented our ongoing work on the AwesomePrelude at the Dutch Haskell User Group meeting. In a previous post “Deeply embedded DSLs in Haskell”, I introduced the AwesomePrelude. While the ideas behind that post haven’t changed, the implementation of the AwesomePrelude is radically different now. The... »

Deeply embedded DSLs in Haskell: overloading everything under the sun

Friday, September 4, 2009
By Tom Lokhorst
Deeply embedded DSLs in Haskell: overloading everything under the sun

Haskell is a great language for building embedded domain specific languages. Using algebraic data types and higher order functions, it’s very easy to work with and reason about an embedded language. This week at the ICFP, several people commented on how Haskell allowed them to build custom control structures and express ideas more clearly.... »

Waking on LAN

Wednesday, July 22, 2009
By Tom Lokhorst

Computers are really nice machines, they have amazing processing power and can be used for all sorts of noble purposes, such as storing your movie collection family photos. Unfortunately, they also have the downside of generating heat and noise, so that’s why I keep one of mine at a friend’s house (also because he... »

Hackage on Twitter

Thursday, May 21, 2009
By Tom Lokhorst
Hackage on Twitter

The Haskell community is very active. New packages are released to the central Hackage server each day. If your like me, and like to keep up on all the different new packages, you can now follow Hackage on Twitter. But be warned! There’s a lot happening, in the 3 days Hackage has been online,... »

bool-extras released

Wednesday, May 13, 2009
By Tom Lokhorst

Ever found yourself in need of a if-then-else replacement that can be partially applied? Something you can pass to higher order functions? In short, ever needed this function? bool :: a -> a -> Bool -> a bool x _ False = x bool _ y True = y Well, I did. So I’m... »

Hac5 videos online

Monday, April 27, 2009
By Tom Lokhorst
Hac5 videos online

At the Hackathon in Utrecht last week, during compilations I walked around with my camera shooting some videos. These five videos are online: Compilation video UHC Announcement Vacuum + Adaptive Containers Clips from LHC demo Clips from Leksah demo »