From 83a442c30fadd952750d6a30e3ad566e76e76168 Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Wed, 21 Oct 2009 17:39:53 -0500 Subject: [PATCH] don't natural-sort the stack effects or $values in help-lint -- catches a lot more documentation errors --- basis/help/lint/checks/checks.factor | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/basis/help/lint/checks/checks.factor b/basis/help/lint/checks/checks.factor index 56f104a1a1..dac3900cc9 100644 --- a/basis/help/lint/checks/checks.factor +++ b/basis/help/lint/checks/checks.factor @@ -33,14 +33,13 @@ SYMBOL: vocab-articles : extract-values ( element -- seq ) \ $values swap elements dup empty? [ - first rest [ first ] map prune natural-sort + first rest [ first ] map prune ] unless ; : effect-values ( word -- seq ) stack-effect [ in>> ] [ out>> ] bi append - [ dup pair? [ first ] when effect>string ] map - prune natural-sort ; + [ dup pair? [ first ] when effect>string ] map prune ; : contains-funky-elements? ( element -- ? ) {