infix: part about integers as sequences doesn't apply anymore

db4
Philipp Brüschweiler 2010-02-18 18:47:02 +01:00
parent eb8344a5a5
commit aec0243f83
1 changed files with 0 additions and 8 deletions

View File

@ -65,14 +65,6 @@ $nl
"[let { 1 2 3 4 } :> myarr [infix myarr[4/2]*3 infix] ] ."
"9"
}
"Please note: in Factor " { $emphasis "fixnums are sequences too." } " If you are not careful with sequence accesses you may introduce subtle bugs:"
{ $example
"USING: arrays infix locals ;"
":: add-2nd-elements ( x y -- res )"
" [infix x[1] + y[1] infix] ;"
"{ 1 2 3 } { 0 1 2 3 } add-2nd-elements ."
"3"
}
;
ABOUT: "infix"