Timeline for Construct an infix operation from a list
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 22, 2012 at 7:41 | history | edited | István Zachar | CC BY-SA 3.0 |
added 152 characters in body
|
Nov 22, 2012 at 7:39 | comment | added | J. M.'s missing motivation♦ |
Alternatively: First @ Nest[Prepend[Drop[#, 3], #[[1]] ~#[[2]]~ #[[3]]] &, x, Quotient[Length @ x, 2]] and First @ Nest[Append[Drop[#, -3], #[[-3]] ~#[[-2]]~ #[[-1]]] &, x, Quotient[Length @ x, 2]]
|
|
Nov 22, 2012 at 7:35 | history | answered | István Zachar | CC BY-SA 3.0 |