Hi

The following agent code works fine:

(defn html-write-cmd [out cmd]
        (doseq [key (keys cmd)]
                (.write out
                        (format "<b>\"%s\"</b> => \"%s\"<br>" key (cmd key)))))

but if I change (keys cmd) to (sort (keys cmd)) then the following
runtime exception is triggered:

java.lang.RuntimeException: Agent has errors (NO_SOURCE_FILE:0)

The (sort (keys cmd)) works fine outside the agent.

Any idea what it can be?

Thanks
Morten

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to