Re: Some clarifications about let form

2010-08-28 Thread nickikt
yes, but you can not change it if you start a new (let ...). On 28 Aug., 16:22, HB wrote: > So, any time I want to declare a local variable (inside a function for > example), I use let form. > > On Aug 26, 8:26 pm, nickikt wrote: > > > Its for defining look variables (constants) that you use mor

Re: Some clarifications about let form

2010-08-28 Thread HB
So, any time I want to declare a local variable (inside a function for example), I use let form. On Aug 26, 8:26 pm, nickikt wrote: > Its for defining look variables (constants) that you use more then > once in your form and not have to write it more then once (or > calculated it more then once)

Re: Some clarifications about let form

2010-08-26 Thread nickikt
Its for defining look variables (constants) that you use more then once in your form and not have to write it more then once (or calculated it more then once) (let [r1 (random-int) r2 (random-int)] (when (the-same? r1 r2) (str r1 " and " r2 " are the same")) Write

Re: Some clarifications about let form

2010-08-26 Thread Meikel Brandmeyer
Hi, On 26 Aug., 17:02, HB wrote: > Hey, > Basically, I understand what let form does but I'm not sure when to > use it. > Would you please enlighten me about it? (if possible some typical Java > code and then covert it to Clojure let form). > I really appreciate your time and help. > Thanks. Str

Some clarifications about let form

2010-08-26 Thread HB
Hey, Basically, I understand what let form does but I'm not sure when to use it. Would you please enlighten me about it? (if possible some typical Java code and then covert it to Clojure let form). I really appreciate your time and help. Thanks. -- You received this message because you are subscr