Re: Am I missing something?

2013-12-03 Thread Swaroop C H
On Wed, Dec 4, 2013 at 7:00 AM, Sean Corfield wrote: > > As Phil says, rolling your own migrations, native to Postgres, is > probably the best way to go in that area. At World Singles, we use > external SQL files with a prefix indicating DB "level" and an > indicator of dev vs prod migration, and

Re: Repeatedly asking for user input i.e. calling (read-line) hangs?

2012-07-03 Thread Swaroop
uot;Input something:") (loop [lines (repeatedly read-line)] (let [line (first lines)] (println "You entered:" line) (when (not= "q" line) (recur (next lines)) Regards, Swaroop On Monday, July 2, 2012 1:16:37 PM UTC+5:30, Meikel Brandmeyer (ko

Repeatedly asking for user input i.e. calling (read-line) hangs?

2012-07-01 Thread Swaroop
Hi, This might be a naive question, but calling this code causes a "hung" program for me, I would appreciate any suggestions on the right way to do it: user=> (dotimes [n 5] (println "Input:") (read-line)) Input: abc Input: def # /hangs/ Regards, Swaroop

Re: Clojure on Android

2012-05-28 Thread Swaroop C H
f writing real-world Android applications in Clojure. -- Check out http://clojure-android.blogspot.com/ Regards, Swaroop www.swaroopch.com -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@go

Re: fibonacci sequence using lazy-cat

2009-07-29 Thread swaroop belur
cool - thanks guys for the detailed reply. crystal clear now -:) Thx swaroop --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroup

fibonacci sequence using lazy-cat

2009-07-29 Thread swaroop belur
anyone please explain how clojure evaluates this. 1. so if we call (take 5 fibs) for example, what does fibs initially refer to? 2. how does lazy-cat exactly work over here? Apologize if this has already been asked earlier. Thanks swaroop --~--~-~--~~~---~--~~ You