Re: General form of apply

2009-02-07 Thread Konrad Hinsen
On 07.02.2009, at 10:48, Meikel Brandmeyer wrote: >>> >>> user> (apply + 1 2 3 [4 5]) >> Exactly - except that it doesn't work for me! > > Do you mabe have some more specific information > than "it doesn't work"? This form works for me and > in fact always did. On my home machine, it works as we

Re: General form of apply

2009-02-07 Thread Meikel Brandmeyer
Hello, user> (apply + 1 2 3 [4 5]) Exactly - except that it doesn't work for me! Do you mabe have some more specific information than "it doesn't work"? This form works for me and in fact always did. Do you maybe try: (apply + 1 [2 3] 4)? Sincerely Meikel smime.p7s Description: S/MIME cr

Re: General form of apply

2009-02-06 Thread Konrad Hinsen
On 06.02.2009, at 19:22, Shawn Hoover wrote: > This seems to work correctly: > > user> (apply + 1 2 3 [4 5]) > 15 > > Is that what you're looking for? Exactly - except that it doesn't work for me! Konrad. --~--~-~--~~~---~--~~ You received this message because y

Re: General form of apply

2009-02-06 Thread Shawn Hoover
On Fri, Feb 6, 2009 at 1:19 PM, Konrad Hinsen wrote: > > The doc string of apply says: > >([f args* argseq]) >"Applies fn f to the argument list formed by prepending args to > argseq." > > This looks like I could pass in several argument PLUS one sequence of > arguments, which just

General form of apply

2009-02-06 Thread Konrad Hinsen
The doc string of apply says: ([f args* argseq]) "Applies fn f to the argument list formed by prepending args to argseq." This looks like I could pass in several argument PLUS one sequence of arguments, which just happens to be what I want in a specific case. But it doesn't