Re: problems trying to write a conditional \transpose

2013-08-19 Thread David Kastrup
Mark Polesky writes: > David Kastrup wrote: >>> I'm trying to write a conditional version of the \transpose >>> function, that would work something like this... >>> >>> input = { >>> c c >>> \conditionalTransposition c c' { c c } >>> } >>> >>> \input >>> => { c c c c } >>> >>> \processConditi

Re: problems trying to write a conditional \transpose

2013-08-19 Thread Mark Polesky
David Kastrup wrote: >> I'm trying to write a conditional version of the \transpose >> function, that would work something like this... >> >> input = { >>   c c >>   \conditionalTransposition c c' { c c } >> } >> >> \input >> => { c c c c } >> >> \processConditionalTransposition \input >> => { c c

Re: problems trying to write a conditional \transpose

2013-08-05 Thread David Kastrup
Mark Polesky writes: > I'm trying to write a conditional version of the \transpose > function, that would work something like this: > > input = { >   c c >   \conditionalTransposition c c' { c c } > } > > \input > => { c c c c } > > \processConditionalTransposition \input > => { c c c' c' } co