Here's an example of *1 *2 *3 1:1 user=> (str "gavin") "gavin" 1:2 user=> (str "teri") "teri" 1:3 user=> (str "brian") "brian" 1:4 user=> (str-join " " [*1 *2 *3]) "brian teri gavin"
On Wed, Jan 14, 2009 at 2:29 AM, Stephen C. Gilardi <squee...@mac.com>wrote: > > By the time you evaluated *2, the second most recent result was what > it showed you. All top level evaluations count. > > In short, you were Heisenberged. > > --Steve > > On Jan 14, 2009, at 3:59 AM, HB <hubaghd...@gmail.com> wrote: > > > > > Hey, > > I'm trying to run my first Clojure example > > > > user=> (defn hello [name] (str "Cool! " name)) > > #'user/hello > > user=> (hello "Google") > > "Cool! Google" > > user=> (hello "Wicket") > > "Cool! Wicket" > > user=> (str *1) > > "Cool! Wicket" > > user=> (str *2) > > "Cool! Wicket" > > > > Isn't (str *2) supposed to return "Cool! Google" ? > > Environment: > > Clojure20081217 > > Ubuntu 8.04 > > > > Thanks. > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---