Hi,

I'm wondering if anyone can help me understand why transient map in my code 
stops adding entries. 
Here is my implementation of huffman code generation given a string: 

https://gist.github.com/malloc82/efeec1053b9af195e351#file-huffman-clj-L53-L55

Line 53-55 is where it adds a huffman code entry into a transient map. If 
you run the test on line 61, you can see from print out and return value 
that no new entry is added after adding 8 entries, i.e. after \A. No sure 
why.

Thanks
Ritchie

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to