clojurebook/ClojureProgramming — pull request #12 by kymair (2012-05-23 03:55:57+00:00)
Title: compare-magnitude doesn't produce correct pred used by comparator

`(comparator compare-magnitude)` will always return -1. Should change "-" to "<" in `compare-magnitude` to produce correct boolean pred for `comparator` instead of numeric result (which always evaluate to true).