kernel: Change the example for with to be more clear. Division example credit goes to chezmax.

db4
Doug Coleman 2012-02-16 09:48:08 -08:00
parent 3c63275ee6
commit ee721d1811
1 changed files with 2 additions and 1 deletions

View File

@ -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