Doesn't this produce something like:
(fn []
(read-string (println \hello\)))
which would return the list '(println hello)?
On Wednesday, June 13, 2012 7:29:54 PM UTC-4, Rob Harrop wrote:
Hi,
I have a use case where I'd like to load small forms in String format from
a database and wrap
(defrecord Pos [name value]
Object
(toString [this]
(str Name: name , Value: value )))
(def actions [(Pos. IBM, -50)
(Pos. ACCOR, -30);
(Pos. IBM, -10);
(Pos. APPLE, -20);
(Pos. AIRFRANCE, -20)])
(def options [(Pos. IBM, 55)
Oops.
A possible solution might look something like that...
--
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
Macro expansion time is just before compile time.
--
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
Saw this in a scala mailing list thread:
http://www.youtube.com/watch?v=R2Cq3CLI6H8
Should the clojure hash be fixed?
--
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
String hashing uses the default java hashCode method which contains the
vulnerability.
user= (= (hash Ey) (hash FZ))
true
user= (apply = (map hash [EyEy FZEy EyFZ FZFZ]))
true
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group,
On Wed, Nov 2, 2011 at 5:37 AM, Dennis Haupt d.haup...@googlemail.com wrote:
i stumbled over two odd things
1) - and - have the same source code. why is that?
- and - are macros that have similar purposes. - inserts the previous form
as the first argument to the function, - inserts it as the
On Wed, Nov 2, 2011 at 6:12 AM, Dennis Haupt d.haup...@googlemail.com wrote:
so - and - behave the same as long as my functions only take one
parameter?
They do if you avoid inline function definitions.
--
You received this message because you are subscribed to the Google
Groups Clojure
This was quite helpful for me.
http://technomancy.us/149
On Sat, Sep 10, 2011 at 1:29 PM, Curran curran.kelle...@gmail.com wrote:
Greetings,
I would greatly appreciate any guidance on where to find a working and
complete set of instructions for how to set up Emacs with swank-
clojure. I am