[Haskell-cafe] combinatorial search with running bound