Re: suggestion for clojure development

2011-09-30 Thread Stuart Halloway
> So what's the plan for the future? Are there plans to make clojure > stable at some point so that backward compatibility can be expected? > Otherwise I am going to have difficulty continuing to advocate clojure > to my colleagues. In other words, when will the library ecosystem be > considered im

Re: strangeloop presentations

2011-09-30 Thread Alex Miller
Yes, we are working on getting them published. Rich Hickey's keynote is in the first batch and has already been edited, just waiting to be synced to slides and scheduled at InfoQ. Stuart's slides were from a workshop (Aaaron Bedra also did one) and those were 3 hrs and not filmed, so they will not

[ANN] Scripturian R304 released, with support for Clojure 1.3.0

2011-09-30 Thread Tal Liron
Scripturian is a scalable alternative to JSR-223, providing a clear threading model for embedding JVM languages into high-concurrency applications: http://threecrickets.com/scripturian/ Note that this also brings Clojure 1.3.0 support to Prudence. It already exists on trunk, and you can build

Re: Thoughts on a polyglot app server?

2011-09-30 Thread Daniel Pittman
On Thu, Sep 29, 2011 at 13:48, Jim wrote: > > The TorqueBox[1] team is toying with the idea of exposing to Clojure > the abstractions we currently expose to Ruby. We're looking for > feedback from you guys to see what you use now to solve these > problems, what you'd like to see in a possible Cloj

Re: strangeloop presentations

2011-09-30 Thread Sean Corfield
It was stated at the conference that InfoQ was videoing everything and will post it over the next six months as they get time to edit/produce each session. Sean On Fri, Sep 30, 2011 at 10:41 AM, Scott Jaderholm wrote: > In the past they've been posted on infoq.com several months later. > Scott >

Re: unable to resolve symbol: doc

2011-09-30 Thread Phil Hagelberg
On Fri, Sep 30, 2011 at 2:13 PM, Alan Malloy wrote: > C-c C-d d, right? Oops, yes that's right. -Phil -- 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 members are

Re: unable to resolve symbol: doc

2011-09-30 Thread Alan Malloy
C-c C-d d, right? On Sep 30, 1:38 pm, Phil Hagelberg wrote: > On Fri, Sep 30, 2011 at 12:12 PM, Andrew wrote: > > When I do M-x clojure-jack-in on one project.clj which uses clojure 1.2.1, > > I'm able to evaluate (doc map). > > But with another project.clj which uses clojure 1.3.0-RC0, the repl

Re: unable to resolve symbol: doc

2011-09-30 Thread Phil Hagelberg
On Fri, Sep 30, 2011 at 12:12 PM, Andrew wrote: > When I do M-x clojure-jack-in on one project.clj which uses clojure 1.2.1, > I'm able to evaluate (doc map). > But with another project.clj which uses clojure 1.3.0-RC0, the repl is > unable to resolve symbol: doc. I also changed it to use clojure

Re: unable to resolve symbol: doc

2011-09-30 Thread Andrew
Oh **that's** what was meant by the blurb below. Thanks.2.26 doc & find-doc moved to REPL Adds special form docs to the REPL -- 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 post

Re: unable to resolve symbol: doc

2011-09-30 Thread Mark Rathwell
In 1.3 doc was moved to the clojure.repl namespace. So, at the repl, you can: (use 'clojure.repl) and (doc foo) should work again. On Fri, Sep 30, 2011 at 3:12 PM, Andrew wrote: > When I do M-x clojure-jack-in on one project.clj which uses clojure 1.2.1, > I'm able to evaluate (doc map). > Bu

Re: seeking advice for reducing boilerplate

2011-09-30 Thread Andrew
Thanks (both) for the advice! -- 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 members are moderated - please be patient with your first post. To unsubscribe from t

unable to resolve symbol: doc

2011-09-30 Thread Andrew
When I do M-x clojure-jack-in on one project.clj which uses clojure 1.2.1, I'm able to evaluate (doc map). But with another project.clj which uses clojure 1.3.0-RC0, the repl is unable to resolve symbol: doc. I also changed it to use clojure 1.3.0, ran lein deps... M-x clojure-jack-in repl

Re: producing Blub code and vv.

2011-09-30 Thread Dennis Crenshaw
Nice article in the wiki link, the logic rings pretty true for me. Clojure is a truly powerful language and I don't want for any higher-level facilities with it yet. :) That said, it would probably mean great strides in the "industry" if elegant Clojure code could be translated to comprehensible J

Re: strangeloop presentations

2011-09-30 Thread Scott Jaderholm
In the past they've been posted on infoq.com several months later. Scott On Fri, Sep 30, 2011 at 1:24 PM, Felix Filozov wrote: > Do you know if videos will be available? > > > On Friday, September 30, 2011, faenvie wrote: > > hi clojure-users, > > > > i ploughed through this year's strangeloop

Re: strangeloop presentations

2011-09-30 Thread Felix Filozov
Do you know if videos will be available? On Friday, September 30, 2011, faenvie wrote: > hi clojure-users, > > i ploughed through this year's strangeloop presentations > today ... > > 3 presentations that i can recommend for clojure-users: > > - Jim Duey "EasyMonads" (advanced level) > > https://

Re: Using Clojure to Generate Java Source?

2011-09-30 Thread Dennis Crenshaw
Thanks for the advice and support everyone! I'm not hopeful at being able to sway him to a parenthetical language through logic (I've tried!) Additionally, I definitely would not consider throwing out unmaintainable decompiled Java code on the sly. That, as Nicolas pointed out, would be the ticket

Midje Integration for Cascalog

2011-09-30 Thread Sam Ritchie
Hey all, I've just released a blog post on how to test Cascalog queries with Midje; big thanks to Brian Marick for providing such a killer testing framework. Thanks to Clojure and tools like midje-cascalog

strangeloop presentations

2011-09-30 Thread faenvie
hi clojure-users, i ploughed through this year's strangeloop presentations today ... 3 presentations that i can recommend for clojure-users: - Jim Duey "EasyMonads" (advanced level) https://github.com/strangeloop/2011-slides/blob/master/Duey-MonadsEasy.pdf - David Nolen "The Mapping Dilemma" (

Thoughts on a polyglot app server?

2011-09-30 Thread Jim
The TorqueBox[1] team is toying with the idea of exposing to Clojure the abstractions we currently expose to Ruby. We're looking for feedback from you guys to see what you use now to solve these problems, what you'd like to see in a possible Clojure "App Server", and if you might actually use it.

Re: pattern matching in clojure

2011-09-30 Thread David Nolen
This probably won't get fixed unless someone does a really good job of convincing me otherwise. Vector notation is reserved for things which support random access. (defn rpn' [ stack symb ] (match [stack symb] [([x y & z] :seq) "*" ] (apply vector (* x y ) z) [([x y & z] :seq)

Re: pattern matching in clojure

2011-09-30 Thread Michael Jaaka
Thanks! On Sep 30, 11:33 am, Ambrose Bonnaire-Sergeant wrote: > I've opened an issue concerning this bug: > > http://dev.clojure.org/jira/browse/MATCH-21 > > Ambrose > > On Fri, Sep 30, 2011 at 5:04 PM, Ambrose Bonnaire-Sergeant < > > > > > > > > abonnaireserge...@gmail.com> wrote: > > There's a

Re: pattern matching in clojure

2011-09-30 Thread Ambrose Bonnaire-Sergeant
I've opened an issue concerning this bug: http://dev.clojure.org/jira/browse/MATCH-21 Ambrose On Fri, Sep 30, 2011 at 5:04 PM, Ambrose Bonnaire-Sergeant < abonnaireserge...@gmail.com> wrote: > There's a problem with destructuring lists (seems like a bug). > > If stack is always a vector, it wor

Re: pattern matching in clojure

2011-09-30 Thread Ambrose Bonnaire-Sergeant
Hi Michael On Fri, Sep 30, 2011 at 4:51 PM, Michael Jaaka wrote: > Btw. I'm using [match "0.2.0-SNAPSHOT"] and Clojure 1.3 but this > import instruction > > (use '[match.core :only [match]]) > > from official website of match library doesn't work, only (use > '[clojure.core.match.core :only [ma

Re: pattern matching in clojure

2011-09-30 Thread Ambrose Bonnaire-Sergeant
There's a problem with destructuring lists (seems like a bug). If stack is always a vector, it works. (defn rpn' [ stack symb ] (match [stack symb] [ [x y & z ] "*" ] (apply vector (* x y ) z) [ [x y & z ] "+" ] (apply vector (+ x y ) z) [ x "sum" ] [ (reduce + x) ]

Re: pattern matching in clojure

2011-09-30 Thread Michael Jaaka
Btw. I'm using [match "0.2.0-SNAPSHOT"] and Clojure 1.3 but this import instruction (use '[match.core :only [match]]) from official website of match library doesn't work, only (use '[clojure.core.match.core :only [match ] ]) works and I have given a try to matchure and IT WORKS ;-) But why do I

Re: pattern matching in clojure

2011-09-30 Thread Michael Jaaka
Thanks for feedback. But now I'm came across a problem. I'm studying "Learn You a Haskell for Great Good!" and I'm on chapter "Functionally Solving Problems" reading "Reverse Polish notation calculator". I wanted to write it in Clojure. So instead of: http://pastebin.com/QzhbyD6d I wrote: http://pa

Re: suggestion for clojure development

2011-09-30 Thread Nicolas
I think that backward compatibilities problem do hurt. Some people will not invest in an "unstable" language by default and some will be tempted to give up after experimenting too many problem with it. We don't choose a language,we choose a full echosystem that include libraries, IDE tooling, docu

Re: (flatten )

2011-09-30 Thread Tassilo Horn
ChrisR writes: > Hi there, possibly the flatten documentation is wrong as (flatten nil) > for me is returning the empty list rather than nil. (1.3.0). Indeed, that's because it uses `filter' which produces a lazy seq. Most probably, in this case it's just the docstring that should be fixed. >

Re: Idiomatically returning one or two values from a function.

2011-09-30 Thread Daniel Pittman
On Wed, Sep 28, 2011 at 12:15, Daniel Solano Gomez wrote: > On Wed Sep 28 18:52 2011, Daniel Pittman wrote: >> >> I have problem that I have been thrashing back and forth over the best >> design of for a week now, and I can't work out the nicest way to >> handle it.  Specifically, I have a collect