Laurent, I don't quite understand your point. Could you please explain it a little more?
Thanks On Jul 8, 12:16 pm, Laurent PETIT <[email protected]> wrote: > 2009/7/8 Sean Devlin <[email protected]>: > > > > > This seems like a good use for a macro. A couple of thoughts: > > > 1. Use arrays instead of lists > > In clojure, it is "best practice" to use arrays for data. So, your > > macro call should look like this. > > > (match [1 2 3] > > [1 x] (+ x x) > > [1 x y] (+ x y)) > > Hi, > > s/array/vector/g > > Regards, > > -- > Laurent --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
