Re: Read the code of clj_http ,then I have one questions,#' that mean ?

2016-09-12 Thread Erik Assum
In addition, https://yobriefca.se/blog/2014/05/19/the-weird-and-wonderful-characters-of-clojure/ is a good read. Erik. -- i farta > Den 13. sep. 2016 kl. 06.59 skrev Tienson Qin : > > It means var quote, I think you can find more in clojure.org reader literals. >

Read the code of clj_http ,then I have one questions,#' that mean ?

2016-09-12 Thread Tienson Qin
It means var quote, I think you can find more in clojure.org reader literals. http://clojure.org/reference/reader -- 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

Read the code of clj_http ,then I have one questions,#' that mean ?

2016-09-12 Thread 章亮
Hi Recently Read the code of clj_http, then I have one questions. In the clj_http/client.clj (def ^:dynamic request (wrap-request #'core/request)) #‘ is very strange.I don't understand #' that mean after I searched some the books of clojure. And I test for eample : (defn test1 [x]

Re: idiomatic way of counting loop iteration

2016-09-12 Thread Timothy Baldridge
Also consider map-indexed if you just need to count how many things go through a lazy seq. It works like map, but takes a (fn [idx itm] ...) where idx is the index of the item in the overall seq. On Mon, Sep 12, 2016 at 3:10 PM, Gary Johnson wrote: > Almost right. The

Re: idiomatic way of counting loop iteration

2016-09-12 Thread Gary Johnson
Almost right. The iterate function is an infinite sequence generator, so (count (iterate f x)) will never return. If you want the iteration to terminate when cond is false (as in your original example), you're looking for this: (count (take-while cond (iterate (fn [[a b]] ... [new-a new-b])

Re: [ANN] defn Podcast Episode #9 Onyx

2016-09-12 Thread Bradley Pitts
hi vijay i've been trying to get in touch to finally finish the website and get the project in an a manageable state. please get back to me so we can make a plan. best, bradley On Wednesday, September 7, 2016 at 2:24:31 AM UTC-4, Vijay Kiran wrote: > > Hello Everyone, > > The new episode of

KLIPSE (repl + plugin) just hit the 400 stars on github!

2016-09-12 Thread Yehonathan Sharvit
KLIPSE (https://github.com/viebel/klipse) is both clojure[script] web repl and a plugin. The repl is at: http://app.klipse.tech The klipse plugin is a javascript tag that transforms static code snippets of an html page into live and interactive snippets: 1. Live: The code is executed in your

Re: Deref Nil

2016-09-12 Thread Deon Moolman
Hi Tim, Thanks for your feedback, I appreciate it! :) Ye, I've been tempted and bitten by atoms-in-atoms before, and that's no fun - My case here is slightly different though, I have a single atom and construct cursors to paths within, which are swappable and deref'able like normal atoms, but