Haskell helpers for buildbot