We could have a new function. We have separate functions for push!([1,2,3],4,5,6) and append!([1,2,3],[4,5,6]).
Thanks, Jiahao Chen Staff Research Scientist MIT Computer Science and Artificial Intelligence Laboratory On Sat, Jan 31, 2015 at 1:57 PM, Milan Bouchet-Valat <[email protected]> wrote: > Le samedi 31 janvier 2015 à 13:08 -0500, Jiahao Chen a écrit : > > k = findin(particles, particles[3]) > > > > findin requires both arguments to be collections. > > Try findin(particles, [particles[3]]) instead. > Maybe we should add a version accepting a single element too? Any reason > not to? > > > Regards > >
