Re: [ClojureScript] Re: [ANN] Quil 2.4.0 and improved live editor

2016-03-31 Thread Elango Cheran
Thanks, Nikita, for keeping up the good work. This is great! -- Elango On Sat, Mar 26, 2016 at 11:50 AM, Nikita Beloglazov wrote: > > FYI: The quil.info site has a broken link. The "Quil Intro" links to: > > http://nbeloglazov.com/2014/05/29/quil-intro.html > > But that's 404. > > Alan > > Tha

Re: Clojure as first language

2016-03-04 Thread Elango Cheran
Hi Terje, Answers in line below: The turtle graphics concept is often used as a basic teaching tool. Logo, > Scratch, etc. > It seems easy to understand for children, and is a good way to get started. > > I have some additional questions to that, though: > How long before children get tired (bore

Re: Clojure as first language

2016-02-21 Thread Elango Cheran
You should also look at clojure-turtle, which is a port of Logo into Clojure: https://github.com/google/clojure-turtle We often use Logo to teach kids how to program for the first time, and Logo is a Lisp (!). Logo has reinforced its relevance with Scratch, which is a GUI-based, less-textual vers

Re: building with Leiningen within Maven

2016-01-04 Thread Elango Cheran
I'm guessing that you might be able to accomplish running Clojurescript tests within a Maven build by combining the following: 1. Take a look at the approach of building Clojurescript by running a build.clj script (ex: https://github.com/clojure/clojurescript/wiki/Quick-Start) 2. Clojurescript tes

building with Leiningen within Maven

2015-12-27 Thread Elango Cheran
Hi everyone, I've recently need to come up with a workaround for building a project that basically entails running a Leiningen build within Maven. I think that it will get the job done, but it's also definitely not my proudest moment... which is why I would like to know if anyone understands the

Re: Lazy fold-right, help with Scala translation

2015-10-08 Thread Elango Cheran
Hi Rastko, I was about to respond with the reverse + reduce answer, but it seems that it was already covered here: https://groups.google.com/forum/#!topic/clojure/MizwTxHwLE4 But there is a more detailed answer about short-circuiting reduce that you might also be interested in (using the function

Re: Beginning Clojure Development

2015-09-10 Thread Elango Cheran
A coworker of mine asked me for suggestions yesterday after starting directly with Joy of Clojure as if it were an intro text for himself and getting lost after getting halfway through. Even though this coworker of mine is pretty experienced over many years -- and has programmed in C++, Java, Pyth

Re: realizing a lazy line-seq inside with-open

2013-05-27 Thread Elango Cheran
And yep, Kevin's change works. Looking into reducers + I/O sounds interesting, I'll definitely check it out, thanks! On Mon, May 27, 2013 at 11:21 PM, Sean Corfield wrote: > On Mon, May 27, 2013 at 9:50 PM, Kevin Downey wrote: > > doall doesn't recurse, so you are not realizing the lazy-seq, y

Re: realizing a lazy line-seq inside with-open

2013-05-27 Thread Elango Cheran
se doall: > > (doall [msg sig-strs]) > > No need for the let / result / promise / deliver. > > On Mon, May 27, 2013 at 5:32 PM, Elango Cheran > wrote: > > Hi everyone, > > I had a function that reads the contents of a file (in this case, it > > represents a licens

realizing a lazy line-seq inside with-open

2013-05-27 Thread Elango Cheran
Hi everyone, I had a function that reads the contents of a file (in this case, it represents a license) and then verifies the contents. As I started to expand the code for verifying, it made sense to break the function up into a function for file parsing and a function for verification. The follo

Newbie's Guide to Learning Clojure

2012-03-28 Thread Elango Cheran
Hi everyone, On Gregg's suggestion, I want to share a writeup about how total beginners can learn Clojure in a minimally painful way. I'd welcome any comments, suggestions, etc. http://www.elangocheran.com/blog/2012/03/the-newbies-guide-learning-clojure/ Thanks. Elango -- You received this me