An implementation of delta debugging (ddmin) in Haskell