Clojure
There are 5 entries for the tag Clojure

I'm still wrestling with getting something acceptable running Clojure under Windows, however you may find the following useful in your own travels: (->> (java.lang.System/getProperty "java.class.path") (re-seq #"[^;]+") (map println) dorun) Technorati Tags: Clojure

I recently had a go at Uncle Bob's latest challenge.  Part of the problem was, given s and n, find the smallest factor that divided n that was greater than or equal to s.  In C#, you could express this as follows: Enumerable.Range(s, n) .TakeWhile(x => x <= Math.Sqrt(n)) .Where(x => n % x == 0) .FirstOrDefault(); I think of this as results from the Range method being "piped" through the other methods.  I use similar programming techniques in Powershell, where I actually use a pipe symbol.  Now, it's worth bearing...

It's always the way that when you start learning a new technology you spend your entire time running into problems out of your comfort zone.  Getting Circumspec up and running was a particular challenge.  There's two big problems: Circumspec uses Clojure 1.2.0, which isn't finished. Worse, to lein repl, you need to compile Leiningen from trunk as well. It doesn't actually work on Windows. These are solvable problems.  But it's a bit of a nightmare.  First step, you're going to need my modified lein.ps1 script. ...

Over past few years, I've spent a lot of time thinking about dependency management, usually in the context of NHibernate and Castle Windsor.  The truth is that the problems these projects have are the problems any sufficiently complex open source project has.  So, having been playing with Clojure for several days I've got some thoughts about how the other half lives: For the most part, the JVM has been phenomenally stable for the last few years, so there's no analogue of the multiplicity of versions of .NET and Silverlight just isn't a problem for them.  Another way of saying...

It's a lot easier to do decent installation documentation on a clean computer.  Today I tried building Clojure and Compojure from scratch.  First you need to be able to run powershell scripts.  If you can't, do the following Close all powershell windows Start a powershell window as administrator set-executionpolicy Unrestricted (I'm assuming that if you have more sophisticated security requirements, you'll know enough to implement them yourself.) Building Clojure I'm going to assume that everything gets built into a directory I'm calling D:\OSS....