]> gitweb.factorcode.org Git - factor.git/commitdiff
help: for $default, make sure effect-in is a string.
authorJohn Benediktsson <mrjbq7@gmail.com>
Thu, 7 Apr 2016 14:25:53 +0000 (07:25 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Thu, 7 Apr 2016 14:26:23 +0000 (07:26 -0700)
basis/help/help.factor

index 880701588de2b4e5079d5e49a9d2c798931db83c..f2104d3ff653dfc636b148be0d01e12b050254f6 100644 (file)
@@ -31,7 +31,7 @@ GENERIC: word-help* ( word -- content )
                 first2 dup effect? [ \ $quotation swap 2array ] when
             ] [
                 object
-            ] if
+            ] if [ effect>string ] dip
         ] { } map>assoc
     ] bi@ append members $values ;