more indirection

Monday, February 11, 2013

anorm-typed: Statically-Typed SQL Queries for Scala Play Applications

›
The Play framework's default persistence framework, Anorm , is a very thin wrapper around JDBC (the whole library is about 800 lines o...
Tuesday, November 15, 2011

›
I should also say, there's really nothing wrong in just coding the imperative algorithm in Scala. It's not a sacrilege to use imper...
Saturday, August 20, 2011

The Implicit Environment Pattern

›
In general, I'm pretty skeptical of the purported benefits of test-driven development. Nevertheless, there are cases where some unit tes...
4 comments:
Saturday, July 9, 2011

Prefer recursion to var's and while loops

›
A while back, when I was first picking up Scala, I needed to prompt the user for a line of text and keep prompting until I got a non-blank l...
Wednesday, June 8, 2011

Migrating to sbt 0.10: sbt-idea-plugin

›
In pre-0.10 versions of sbt, you could use sbt-idea-plugin to generate IDEA projects from your SBT files. That plugin doesn't work in 0....
4 comments:

Migrating to sbt 0.10: Lift

›
The latest release of sbt (version 0.10) is utterly incompatible with build scripts from older versions of SBT. Here's how to migrate a...
5 comments:
Wednesday, February 23, 2011

I want to go to there

›
From the excellent Deprecating the Observer Pattern by Odersky et al: // step 1: val path = new Path((self next mouseDown).position) //...
Friday, January 21, 2011

Thoughts on node.js and Haskell

›
I've been hearing chatter about node.js in the last few months. A few weeks ago, a colleague gave me a quick demo and I decided to take...
7 comments:
Thursday, December 9, 2010

parallel-io

›
A few days ago, parallel-io was uploaded to Hackage. Previously, when I wanted to perform a number of I/O actions in parallel, I used som...
Sunday, September 12, 2010

Getting started with Leksah

›
I've been wanting to try Leksah for some time, but found that it doesn't give you many cues about how to get started when you first ...
1 comment:
Tuesday, August 24, 2010

Haskell Syntax Highlighting for Blogs

›
Can anyone recommend a good way to get Haskell syntax highlighting for blog posts? I've been using Gist, which works very well, except ...
11 comments:
Monday, August 23, 2010

Planet Haskell

›
I give permission to include this blog and its contents on the Planet Haskell aggregator.
Saturday, August 21, 2010

Word Wrapping in Haskell

›
Prompted by a question on haskell-cafe, here's a relatively concise word-wrapping implementation I wrote: Update : Thanks to Yitz in t...
3 comments:
Sunday, July 25, 2010

cabal unpack

›
If you want to browse the source code of a package on Hackage, "cabal unpack" is a useful command. packages % ls packages % caba...
1 comment:
Thursday, May 27, 2010

readFile and lazy I/O

›
Recently, I came across a problem in a Haskell script I run frequently. Every so often, I drop a report file into a designated folder. Then...
3 comments:
Friday, April 23, 2010

The Brilliance of Maybe and the Value of Static Type Checking

›
I am sometimes surprised by the strokes of genius hidden inside Haskell's type system. For example: the Maybe type. Maybe a is a para...
10 comments:
Home
View web version
Powered by Blogger