On Sun, Nov 15, 2009 at 4:49 AM, ajuc <aju...@gmail.com> wrote:
>
>
> On 15 Lis, 00:21, John Harrop <jharrop...@gmail.com> wrote:
>> On Sat, Nov 14, 2009 at 3:03 PM, ajuc <aju...@gmail.com> wrote:
>> > I have to install java one more time, when I try to start java -
>> > server, I get:
>> > Error: no `server' JVM at `F:\Program Files\Java\jre6\bin\server
>> > \jvm.dll
>>
>> You need to use the one in F:\Program Files\Java\jdk6 instead.
>>
>> I'm surprised your IDE didn't select that one automatically. Mine
>> (Enclojure) did.
>
> My IDE is waterfront, and it just starts java, and in my path the
> first java was jre, I've changed that, problem solved, thanks.
>
> What's intresting, when I run the code in java -server, the difference
> between using global, and using literal map expression in let got
> bigger.
>
> Now its:
> "Elapsed time: 555.810305 msecs" - with global
> vs
> "Elapsed time: 1091.399046 msecs" - with literal in let
>

Maps, vectors etc are evaluated. This is an important feature, as it
allows you to e.g. create a vector by saying [x y], where x and y are
non-constants.

If you want a data structure to be unevaluated, then just quote it:

'{ :a {[0 0] [0 :d], ...}

Rich

-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
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

Reply via email to