Skip to content

Commit

Permalink
kernel: Change the example for with to be more clear. Division exampl…
Browse files Browse the repository at this point in the history
…e credit goes to chezmax.
  • Loading branch information
erg committed Feb 16, 2012
1 parent 6203caf commit 4de748f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/kernel/kernel-docs.factor
Expand Up @@ -768,7 +768,8 @@ HELP: with
}
{ $notes "This operation is efficient and does not copy the quotation." }
{ $examples
{ $example "USING: kernel math prettyprint sequences ;" "2 { 1 2 3 } [ - ] with map ." "{ 1 0 -1 }" }
{ $example "USING: kernel math prettyprint sequences ;" "1 { 1 2 3 } [ / ] with map ." "{ 1 1/2 1/3 }" }
{ $example "USING: kernel math prettyprint sequences ;" "1000 100 5 iota [ sq + + ] with with map ." "{ 1100 1101 1104 1109 1116 }" }
} ;

HELP: compose
Expand Down

0 comments on commit 4de748f

Please sign in to comment.