News for hackers. Stuff that matters.
Re:Clojure 1.2 Beta by rje on Wednesday July 14, 2010 @12:36PM (#1515114)
Re:Clojure 1.2 Beta by bitsai on Wednesday July 14, 2010 @01:25PM (#1515291)
I'm extremely excited about "case". It's the one thing I missed the most from Haskell & Scala.
Re:Clojure 1.2 Beta by praptak on Wednesday July 14, 2010 @02:41PM (#1515520)
C'mon, (condp = ...) was not that bad :)
Re:Clojure 1.2 Beta by jcromartie on Wednesday July 14, 2010 @03:19PM (#1515639)
condp was rough for me. It requires too much shifting around of the pieces to figure out what it was doing.
Re:Clojure 1.2 Beta by praptak on Thursday July 15, 2010 @05:26AM (#1517321)
I don't believe there is very much gain in code clarity here.

The core benefit of case over condp is efficiency. The condp is linear (goes over each clause until one matches) and case builds a very efficient dispatch function during compile time. This is why case only takes compile-time constant expressions.

Re:Clojure 1.2 Beta by gtani on Wednesday July 14, 2010 @12:51PM (#1515183)
Same day as scala 2.8.0 final

http://www.scala-lang.org/node/7009

Re:Clojure 1.2 Beta by mark_l_watson on Wednesday July 14, 2010 @01:20PM (#1515279)
That is cool also! For a long time I was experimenting a lot with both Clojure and Scala, but then I took a gig with a Clojure shop earlier this year. Scala is still on my short list of languages I would use for my own projects (as is Racket Scheme, BTW).
Re:Clojure 1.2 Beta by Calamitous on Thursday July 15, 2010 @02:27PM (#1518644)
Just curious, as you seem to imply that Clojure is no longer on that list. If this is the case, why not?
Re:Clojure 1.2 Beta by mark_l_watson on Thursday July 15, 2010 @08:45PM (#1519797)
No, I like Clojure - but as a platform, it needs some time to get everything right. I think some patience is required, let the Clojure platform developers keep up their very good work.
Re:Clojure 1.2 Beta by benatkin on Wednesday July 14, 2010 @05:05PM (#1515947)
Same day as CouchDB 1.0, too.

Mailing list announcement: http://mail-archives.apache.org/mod_mbox/couchdb-user/201007... Fun announcement: http://couch.io/

I'm using Clojure and CouchDB together, so it's kind of neat seeing all this happen on the same day!

Re:Clojure 1.2 Beta by francoisdevlin on Wednesday July 14, 2010 @01:05PM (#1515240)
Yeah, except Clojure is more awesome :-p
Re:Clojure 1.2 Beta by gtani on Wednesday July 14, 2010 @03:03PM (#1515588)
Sorry about that, I'm not usually a thread hijacker.

Q: is the plan to have point releases (1.2.1) to roll up e.g. stuff from prim, num, equal branches?

Re:Clojure 1.2 Beta by swannodette on Wednesday July 14, 2010 @04:03PM (#1515791)
I'm pretty sure that's something planned for 1.3
Re:Clojure 1.2 Beta by francoisdevlin on Wednesday July 14, 2010 @03:08PM (#1515607)
Clojure has never really had a point release before, so who knows.
Re:Clojure 1.2 Beta by tmountain on Wednesday July 14, 2010 @02:38PM (#1515510)
Congrats to the team! My favorite language just keeps getting better.
Re:Clojure 1.2 Beta by mark_l_watson on Wednesday July 14, 2010 @01:18PM (#1515275)
Aren't just about everyone already running 1.2 head? Just asking.
Re:Clojure 1.2 Beta by technomancy on Wednesday July 14, 2010 @05:55PM (#1516088)
It's nice to be able to get off snapshots is the main thing. I don't want a stable version of Leiningen 1.2 depending on some random Clojure snapshot. Plus now the primitives work can get merged to master.
Re:Clojure 1.2 Beta by jmatt on Wednesday July 14, 2010 @09:11PM (#1516533)
I recommend using 1.2 head. Even if you are learning clojure I'd recommend 1.2 head. With clojure, unlike most other languages, using head is relatively easy, it's stable and faster and it has more features. Pretty much a win from most perspectives.

As soon as put a minimum amount of effort into researching or learning clojure you'll likely switch anyways. I think I switch after about five hours.

Re:Clojure 1.2 Beta by mcav on Wednesday July 14, 2010 @01:43PM (#1515341)
Yes, many are running 1.2. This indicates that 1.2 is nearing completion.
Re:Clojure 1.2 Beta by 45g on Wednesday July 14, 2010 @05:48PM (#1516072)
I wonder if someone wants to port the type checker of Typed Racket over to Clojure?
Re:Clojure 1.2 Beta by rincewind on Thursday July 15, 2010 @02:12AM (#1517086)
The type checker would have to play nice with java types. Does the racket type checker support inheritance and interfaces/protocols?
Re:Clojure 1.2 Beta by vdm on Thursday July 15, 2010 @05:48AM (#1517351)
FRTime first please!
Re:Clojure 1.2 Beta by yason on Saturday July 17, 2010 @04:10PM (#1524545)
Uh. Once again the time to find out how to setup Clojure + Slime + swank clojure + clojure-mode this time.

It's not that I didn't love the language, it's just that the installation is a PITA and generally not something I'd look forward to.

Re:Clojure 1.2 Beta by poobox on Wednesday August 25, 2010 @06:49PM (#1634424)
If you have gotten it working I have yet to find a decent walk through that works for 1.2 and would love some help getting things set up myself. I had hoped I could just use old-fashioned inferior-lisp with slime and clojure.main but that isn't working for me now either.