for f in ../../**/*.lean; do echo $f; ./patch.lean.out $f > tmp && cat tmp > $f; done
The previous inputs overflowed the stack using default stack limits with a debug build, and were a bit on the slow side
BinomialHeap