Closed fgallina closed 11 years ago
that's a good catch, changed less-than? to return (not (greater-than? n v))
released a new version of the lib with the fix
That's exactly what complement
does, the fix is good in any case. Thanks!
defn
adds metadata that def
does not add that is in some cases useful. I support the way yogthos did it.
w00t :)
The logic for these two validation functions is exactly the same, making
less-than?
to behave contrary to what's expected.Here is a simple proposed fix: