]> gitweb.factorcode.org Git - factor.git/commit
combinators: fix linear-case-quot to order the comparisons properly.
authorJohn Benediktsson <mrjbq7@gmail.com>
Thu, 16 Jul 2015 16:55:19 +0000 (09:55 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Thu, 16 Jul 2015 16:55:19 +0000 (09:55 -0700)
commit6cded6437f85955d3c10090e660106543f53b1bf
tree7d54c941b957fc45224fe4a44adb4f661a4e8163
parent33a62c7f9de7e9b6200943609db56697e070d753
combinators: fix linear-case-quot to order the comparisons properly.

I noticed that member? optimized comparisons in the wrong order, this
was because it calls into linear-case-quot.  The reason case was working
find is because it reversed before calling linear-case-quot.  The fix
was to move the reverse into linear-case-quot.
core/combinators/combinators-tests.factor
core/combinators/combinators.factor