Skip to content

Commit

Permalink
stack-checker: make this an unchecked-example.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjbq7 committed Oct 19, 2014
1 parent af2a532 commit c8cfaee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion basis/stack-checker/stack-checker-docs.factor
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c8cfaee

Please sign in to comment.