'(apply + 1 1) would be how you create a list of those symbols.
('apply + 1 1) says "call the function 'apply with the arguments of +
1 and 1".On Mar 1, 8:37 pm, Mark <[email protected]> wrote: > I found the problem: > ('apply + 1 1) > > I understand why this won't work if I tried to eval the list, but I > don't understand why I can't create a list of these symbols. > > On Feb 28, 9:06 am, Brian Marick <[email protected]> wrote: > > > On Feb 27, 2011, at 2:33 PM, Mark wrote: > > > > With a fresh brain (and a fresh cup of coffee), I realized this > > > message is probably caused (somehow) by my misuse of the midje > > > library. No doubt it does fancy macro stuff under-the-hood. > > > Indeed it does. > > > > One could certainly argue that the > > > macro should do more to detect syntax errors and report them > > > gracefully and I would agree. > > > I've started work on better error handling. (Monads!) When you figure out > > what your syntax error was, please report > > it:https://github.com/marick/Midje/wiki/Error-message-improvements > > > (Or report a bug in the tracker if it turns out you were right but Midje > > was wrong.) > > > ----- > > Brian Marick, Artisanal Labrador > > Contract programming in Ruby and Clojure > > Author of /Ring/ (forthcoming; > > sample:http://exampler.com/tmp/ring.pdf)www.exampler.com,www.exampler.com/bl... -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
