]> gitweb.factorcode.org Git - factor.git/commitdiff
stack-checker: make this an unchecked-example.
authorJohn Benediktsson <mrjbq7@gmail.com>
Sun, 19 Oct 2014 15:29:51 +0000 (08:29 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sun, 19 Oct 2014 15:29:51 +0000 (08:29 -0700)
basis/stack-checker/stack-checker-docs.factor

index 3158cfd9a55abdde01ccf521e204febae7f679e3..03e8a38f93874befe4d6fb9c9127ca672c30a086 100644 (file)
@@ -85,7 +85,7 @@ $nl
 "However a small change can be made:"
 { $example ": good ( ? quot: ( ? -- ) -- ) [ good ] 2keep [ not ] dip call ; inline recursive" "[ [ drop ] good ] infer." "( x -- )" }
 "An inline recursive word must have a fixed stack effect in its base case. The following will not infer:"
-{ $example
+{ $unchecked-example
     ": foo ( quot ? -- ) [ f foo ] [ call ] if ; inline"
     "[ [ 5 ] t foo ] infer."
     "The inline recursive word “foo” must be declared recursive\nword foo"