Re: Aquamacs, swank-clojure: clojure-jack-in returns command not found

2011-05-24 Thread László Török
I had similar issues with Aquamacs. It went away when I installed Phil's emacs-starter-kit before trying to install anything else. Kudos for this great piece of bundle! Las sent from my mobile device On May 25, 2011 8:51 AM, "michele" wrote: > Thanks, that seemed to work so far. > > On May 22

Re: Aquamacs, swank-clojure: clojure-jack-in returns command not found

2011-05-24 Thread michele
Thanks, that seemed to work so far. On May 22, 2:34 pm, Alex Ott wrote: > I think, that lein isn't in your search path. You can add directory > with lein script explicitly using something like: > >  (setenv "PATH" (concat "your-lein-dir:" (getenv "PATH"))) > > > > > > > > > > On Sun, May 22, 2011

Re: Clojure, Swank, and Leiningen with Emacs on Mac OS X

2011-05-24 Thread michele
And this one https://github.com/technomancy/leiningen/ On May 22, 10:53 am, dokondr wrote: > Hello, > I am trying to install Clojure tools on Mac OS X according to the > instructions: > "Clojure, Swank, and Leiningen with Emacs on > Linux"http://riddell.us/ClojureSwankLeiningenWithEmacsOnLinux.

Re: Clojure, Swank, and Leiningen with Emacs on Mac OS X

2011-05-24 Thread michele
Have you tried this one? https://github.com/technomancy/swank-clojure On May 22, 10:53 am, dokondr wrote: > Hello, > I am trying to install Clojure tools on Mac OS X according to the > instructions: > "Clojure, Swank, and Leiningen with Emacs on > Linux"http://riddell.us/ClojureSwankLeininge

Re: core.logic now compatible with Clojure 1.2.X

2011-05-24 Thread David Nolen
On Wed, May 25, 2011 at 1:36 AM, Sunil Nandihalli < sunil.nandiha...@gmail.com> wrote: > > Thats really nice to hear.. but is the version on clojars compatible > with 1.2 yet? > Thanks > Sunil. I actually spoke a tiny bit too soon. There's one bug related to the numerics change between 1.2 and 1

Re: clojure.contrib.sql => clojure.java.jdbc - looking for feedback!

2011-05-24 Thread Shantanu Kumar
On Apr 22, 10:32 pm, Shantanu Kumar wrote: > > I'm going to be working on clojure.java.jdbc, with Steve Gilardi, and > > I'd like to get people's feedback on what you like / what you don't > > like / what you need changed or added in clojure.contrib.sql so that > > clojure.java.jdbccan become wh

Re: core.logic now compatible with Clojure 1.2.X

2011-05-24 Thread Sunil Nandihalli
Thats really nice to hear.. but is the version on clojars compatible with 1.2 yet? Thanks Sunil. On May 25, 9:03 am, David Nolen wrote: > I know not everyone is adventurous enough to use the 1.3.0 alphas just to > try out core.logic. I've made the required changes to make it 1.2.0 > compatible. >

Re: RIncater

2011-05-24 Thread Joel Boehland
Hi, I'm the original author of RIncanter, and I apologize for its current state. Edmund has tracked down the biggest current problem with loading the native lib portion of the package: it builds a library with a hard-coded path to the R libs (which may not be correct). I talked to Edmund a coupl

Debian packages

2011-05-24 Thread Phil Hagelberg
It looks like Clojure 1.1.0 and the corresponding version of contrib were packaged for Debian. Is the fellow who packaged that still around? Are there any plans to package 1.2.1 and contrib 1.2.0? -Phil -- You received this message because you are subscribed to the Google Groups "Clojure" group.

core.logic now compatible with Clojure 1.2.X

2011-05-24 Thread David Nolen
I know not everyone is adventurous enough to use the 1.3.0 alphas just to try out core.logic. I've made the required changes to make it 1.2.0 compatible. Have fun, David -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send emai

Re: Clojure 1.3 Alpha 7

2011-05-24 Thread Ken Wesson
On Tue, May 24, 2011 at 8:28 PM, David Nolen wrote: > On Tue, May 24, 2011 at 7:54 PM, Ken Wesson wrote: >> >> IMO, records should support anything maps support -- in particular, >> they should support near-arbitrary numbers of entries. > > If performance is not a concern I don't see the point of

Re: Clojure 1.3 Alpha 7

2011-05-24 Thread David Nolen
On Tue, May 24, 2011 at 7:54 PM, Ken Wesson wrote: > IMO, records should support anything maps support -- in particular, > they should support near-arbitrary numbers of entries. If performance is not a concern I don't see the point of not justing plain maps + multimethods. None of these problem

Re: Radically simplified Emacs and SLIME setup

2011-05-24 Thread Phil Hagelberg
On May 24, 1:28 pm, "J.R. Garcia" wrote: > I'm having an issue when running clojure-jack-in. I followed the steps > in the video and once I get to the point of using clojure-jack-in I > get: "Symbol's function definition is void: locate-dominating-file". I > am running GNU Emacs 22.1.1 (mac-apple-

Re: Clojure 1.3 Alpha 7

2011-05-24 Thread Ken Wesson
On Tue, May 24, 2011 at 5:36 PM, daly wrote: > I'm surprised that defrecord isn't a hashed trie data structure of > some sort, allowing the usual 2^32 entries. For speed, it's a Java class with instance variables for the predefined keys (and a hash trie for any non-standard-for-that-record keys t

Re: Clojure 1.3 Alpha 7

2011-05-24 Thread daly
On Tue, 2011-05-24 at 13:12 -0700, Jules wrote: > > > I think this issue reinforces my belief that arbitrary limits are bad. > > Re. defrecord - Should we put the onus on everyone using defrecord to > manipulate wide datasets to remember that there is an arbitrary limit > of 19 fields, or put so

Re: lein and private locally installed classes

2011-05-24 Thread Eric S Fraga
Andreas Kostler writes: > lein install > or > mvn > mvn install:install-file -DgroupId=blub -DartifactId=blub -Dversion=1 > -Dpackaging=jar -Dfile=/path/to/file Thanks for this. Although I did install maven, I didn't get around to trying this solution as the simple solution of the recently add

Re: lein and private locally installed classes

2011-05-24 Thread Eric S Fraga
Mark Rathwell writes: > Yes, this key was recently added, and is currently only available in the > development snapshot (1.6.0-SNAPSHOT). You have the most recent stable > version, 1.5.2, which is what lein upgrade pulls down. > > The current development version is available at: > https://github

Re: Radically simplified Emacs and SLIME setup

2011-05-24 Thread J.R. Garcia
Following along in a version of Emacs.app compiled from source works just fine. It may just be a problem with version 22.1.1 (which is admittedly pretty old). prefer to run inside of iTerm2, but I can update emacs. On May 24, 3:28 pm, "J.R. Garcia" wrote: > *Note: I'm an emacs n00b! > > I'm havi

Re: Clojure 1.3 Alpha 7

2011-05-24 Thread Ken Wesson
On Tue, May 24, 2011 at 4:12 PM, Jules wrote: > > > I think this issue reinforces my belief that arbitrary limits are bad. > > Re. defrecord - Should we put the onus on everyone using defrecord to > manipulate wide datasets to remember that there is an arbitrary limit of 19 > fields, or put some

Re: Radically simplified Emacs and SLIME setup

2011-05-24 Thread J.R. Garcia
*Note: I'm an emacs n00b! I'm having an issue when running clojure-jack-in. I followed the steps in the video and once I get to the point of using clojure-jack-in I get: "Symbol's function definition is void: locate-dominating-file". I am running GNU Emacs 22.1.1 (mac-apple-darwin) if that matters

Re: Clojure 1.3 Alpha 7

2011-05-24 Thread Jules
I think this issue reinforces my belief that arbitrary limits are bad. Re. defrecord - Should we put the onus on everyone using defrecord to manipulate wide datasets to remember that there is an arbitrary limit of 19 fields, or put some smarts into the defrecord macro ? I think we are in ag

Re: lein and private locally installed classes

2011-05-24 Thread Mark Rathwell
Yes, this key was recently added, and is currently only available in the development snapshot (1.6.0-SNAPSHOT). You have the most recent stable version, 1.5.2, which is what lein upgrade pulls down. The current development version is available at: https://github.com/technomancy/leiningen/raw/mast

Re: lein and private locally installed classes

2011-05-24 Thread Eric S Fraga
Aaron Cohen writes: > On Tue, May 24, 2011 at 3:55 AM, Eric S Fraga wrote: >> Therefore, I want to tell lein that, for a given project, I have Java >> packages in, say, ${HOME}/share/classes that I wish to access from > >> within that project.  Can any body point me in the right direction?  I >>

Re: New to Clojure

2011-05-24 Thread Mark Rathwell
Sorry, missed this email before my last reply. To contact the maintainers, there is a contact email address on their organization page: https://github.com/getwoven On Tue, May 24, 2011 at 2:33 PM, dudaroo wrote: > Also, this is probably elementary, but how do I contact the folks at > woven ab

Re: Radically simplified Emacs and SLIME setup

2011-05-24 Thread Tassilo Horn
Phil Hagelberg writes: Hi Phil, >> But with a new project created with "lein new myproject" it works >> fine. Even after changing that new project's deps to clojure >> 1.3.0-SNAPSHOT. >> >> Hm, I wonder what's making the existing project not "jack-innable"... > > I think this may be due to a co

Re: New to Clojure

2011-05-24 Thread dudaroo
Also, this is probably elementary, but how do I contact the folks at woven about uploading the most current version of the work build to clojars? :) On May 20, 5:20 pm, Mark Rathwell wrote: > A couple things going on here, I think: > > First, it looks like maven is having problems communicating w

Re: New to Clojure

2011-05-24 Thread dudaroo
Hi Mark, Thanks so much for your help :) But I'm still stumped on this ''work:work:jar:0.2.4-SNAPSHOT'. It seems odd to downgrade the version to 0.1.2-SNAPSHOT to try to get it to resolve, doesn't it? Or is there something about downgrading developer versions that I'm not getting? Is there a s

Re: List comprehension and sets

2011-05-24 Thread Alan Malloy
On May 24, 10:36 am, Ambrose Bonnaire-Sergeant wrote: > On Wed, May 25, 2011 at 12:55 AM, Alex Robbins < > > alexander.j.robb...@gmail.com> wrote: > > What is the difference between > > (into #{} (for x..)) > > and > > (set (for x ..)) > > Is one preferred? > > I don't think one is preferr

Re: List comprehension and sets

2011-05-24 Thread Ambrose Bonnaire-Sergeant
On Wed, May 25, 2011 at 12:55 AM, Alex Robbins < alexander.j.robb...@gmail.com> wrote: > What is the difference between > (into #{} (for x..)) > and > (set (for x ..)) > Is one preferred? > > I don't think one is preferred over the other in general. Personally I prefer into, I find it gen

Re: Nasty

2011-05-24 Thread Ambrose Bonnaire-Sergeant
On Tue, May 24, 2011 at 8:37 PM, Ken Wesson wrote: > > Amazingly, one thing I didn't see suggested was any variation on the theme > of > > (in occasionally-called function) > > (if (zero? (rand-int 100)) (System/exit 127) (whatever should go here)) > > Nothing, and I mean NOTHING, is harder to

Re: Re: first element after an element in the sorted-set?

2011-05-24 Thread Chouser
On Tue, May 24, 2011 at 4:18 AM, Meikel Brandmeyer wrote: > Hi, > > maybe subseq to the rescue? > > user=> (first (subseq (sorted-set 1 2 3 4 5 6) > 3)) > 4 > > I'm not sure about the perfomance, but I'd think it's fast? Yes, this is right. Note you can also walk the other direction using rsubse

Re: first element after an element in the sorted-set?

2011-05-24 Thread Alan Malloy
Yes, subseq is fast. On May 24, 1:18 am, Meikel Brandmeyer wrote: > Hi, > > maybe subseq to the rescue? > > user=> (first (subseq (sorted-set 1 2 3 4 5 6) > 3)) > 4 > > I'm not sure about the perfomance, but I'd think it's fast? > > Sincerely > Meikel -- You received this message because you ar

Re: List comprehension and sets

2011-05-24 Thread Ambrose Bonnaire-Sergeant
On Wed, May 25, 2011 at 12:20 AM, Mark Engelberg wrote: > Scala's approach to comprehensions is to automatically produce the > same type of collection that is used first in your comprehension. > Clojure's approach is to always produce a lazy sequence which can then > be "poured" into the collectio

Re: List comprehension and sets

2011-05-24 Thread Alex Robbins
What is the difference between (into #{} (for x..)) and (set (for x ..)) Is one preferred? Thanks! Alex On Tue, May 24, 2011 at 11:20 AM, Mark Engelberg wrote: > Scala's approach to comprehensions is to automatically produce the > same type of collection that is used first in your compre

Re: Exporting FatJar from Eclipse CCW does not work

2011-05-24 Thread Bojan Jovičić
Dear Laurent, looks like this helped get the expected output of new version. Thanks for prompt reply :) -- 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: San Francisco Clojure Users

2011-05-24 Thread Ambrose Bonnaire-Sergeant
On Wed, May 25, 2011 at 12:35 AM, Michael Wood wrote: > > I'm not entirely sure. I figured it out >2 years ago, but I've > forgotten now. For me there's an Edit button on the top left. Do you > have that? Does it allow you to add an entry if you click on it? > Ah I got it. You click Edit then

Re: Radically simplified Emacs and SLIME setup

2011-05-24 Thread Phil Hagelberg
On May 22, 2:34 am, Tassilo Horn wrote: > But with a new project created with "lein new myproject" it works fine. > Even after changing that new project's deps to clojure 1.3.0-SNAPSHOT. > > Hm, I wonder what's making the existing project not "jack-innable"... I think this may be due to a conflic

Re: San Francisco Clojure Users

2011-05-24 Thread Michael Wood
On 24 May 2011 16:50, Ambrose Bonnaire-Sergeant wrote: > On Tue, May 24, 2011 at 8:36 PM, Michael Wood wrote: >> >> On 24 May 2011 10:43, David Jagoe wrote: >> > Are you in Nigeria? >> > >> > Anyone else on this list in Africa? >> >> Yes >> >> >> http://maps.google.com/maps/ms?ie=UTF8&oe=UTF8&ms

Re: Exporting FatJar from Eclipse CCW does not work

2011-05-24 Thread Laurent PETIT
Hello, 2011/5/24 Bojan Jovičić : > Dear all, > I have an issue with FatJar and Clojure/Eclipse/CCW. > > I first perform (compile ... to get my file in .class form, and then > activate FatJar export and get a nice jar. > > The issue is that when I run this jar, I get the same output as like before.

Re: List comprehension and sets

2011-05-24 Thread Mark Engelberg
Scala's approach to comprehensions is to automatically produce the same type of collection that is used first in your comprehension. Clojure's approach is to always produce a lazy sequence which can then be "poured" into the collection of your choice using "into". Both approaches have their merits

Re: Exporting FatJar from Eclipse CCW does not work

2011-05-24 Thread Bojan Jovičić
Dear all, I have an issue with FatJar and Clojure/Eclipse/CCW. I first perform *(compile* ... to get my file in *.class *form, and then activate FatJar export and get a nice jar. The issue is that when I run this jar, I get the same output as like before. As if older version of the classes is

Re: San Francisco Clojure Users

2011-05-24 Thread Ambrose Bonnaire-Sergeant
On Tue, May 24, 2011 at 8:36 PM, Michael Wood wrote: > On 24 May 2011 10:43, David Jagoe wrote: > > Are you in Nigeria? > > > > Anyone else on this list in Africa? > > Yes > > > http://maps.google.com/maps/ms?ie=UTF8&oe=UTF8&msa=0&msid=202393302624302710321.00045972a1deb8de0d96b&ll=-19.47695,23.

Re: Parameterizing project.clj

2011-05-24 Thread Ulrik Sandberg
Brilliant. Two good solutions. Thanks. On 24 Maj, 00:44, Phil Hagelberg wrote: > On May 23, 6:19 am, Rasmus Svensson wrote: > > >     (defproject foo 1.0.0 > >       ...the usual stuff... > >       :aws {:access-key ~access-key > >                :secret-key ~secret-key} > > This is good advice,

Re: lein and private locally installed classes

2011-05-24 Thread Aaron Cohen
On Tue, May 24, 2011 at 3:55 AM, Eric S Fraga wrote: > Therefore, I want to tell lein that, for a given project, I have Java > packages in, say, ${HOME}/share/classes that I wish to access from > within that project.  Can any body point me in the right direction?  I > assume I need to add somethin

Re: Books on Java Objects and Primitives

2011-05-24 Thread WoodHacker
I think I understand what you're looking for. I have the same concern. There very best Java book I have found is "The Java Developer's Almanac" by Patrick Chan. Volume 2 covers Swing and Volume 1 covers everything else. No nonsense, just answers with great examples. Bill On May 23, 12:16 pm

clojure 1.3 - slurp not working on /proc/stat

2011-05-24 Thread MHOOO
Hello there, the following throws an IOException ("Invalid Argument") in clojure 1.3-alpha7 on an ubuntu machine: (slurp "/proc/stat") Apparently creating a BufferedReader on (File. "/proc/stat") does not work in this case. It *does* however work if I do: (slurp (java.io.FileReader "/proc/stat"))

Re: Nasty

2011-05-24 Thread Ken Wesson
On Tue, May 24, 2011 at 6:10 AM, Michael Wood wrote: > http://thedailywtf.com/Articles/Disgruntled-Bomb-Java-Edition.aspx > > user=> (import '(dont.try_this.at_home ValueMunger)) > nil > user=> (.start (ValueMunger.)) > nil > user=> (def a 1) > #'user/a > user=> a > 1 > user=> a > java.lang.Except

Re: San Francisco Clojure Users

2011-05-24 Thread Michael Wood
On 24 May 2011 10:43, David Jagoe wrote: > Are you in Nigeria? > > Anyone else on this list in Africa? Yes http://maps.google.com/maps/ms?ie=UTF8&oe=UTF8&msa=0&msid=202393302624302710321.00045972a1deb8de0d96b&ll=-19.47695,23.818359&spn=46.399738,93.076172&t=h&z=4&iwloc=00045c4ebd01b08917060 --

Re: interest in STM, where can I start to get knowing well about it?

2011-05-24 Thread MarisO
STM is discussed in this book The Art of Multiprocessor Programming http://www.amazon.com/Art-Multiprocessor-Programming-Maurice-Herlihy/dp/0123705916 On May 18, 8:25 am, jaime wrote: > Hi All, > > I have interest in the implementation of STM, anyone who can suggest > where I can start to find

Re: Passing "environment configuration parameters" to a Clojure web app

2011-05-24 Thread Laurent PETIT
2011/5/23 Shantanu Kumar : > Hello Laurent, Quite interesting points there. > > Yes, I agree - having confidential config (production etc.) in code > base is not advisable. The reason I mentioned that though, was because > I was trying to cover a gamut of workflows the situation may demand. > One o

Re: Passing "environment configuration parameters" to a Clojure web app

2011-05-24 Thread Laurent PETIT
2011/5/23 Chas Emerick : > > On May 23, 2011, at 3:48 AM, Laurent PETIT wrote: > >> So far, the "most" general techniques I can see are : either >> bundle/repackage your webapp for the target servlet container >> instance, either pass the path to configuration file(s) via one (or >> more) JNDI para

Re: List comprehension and sets

2011-05-24 Thread MarisO
> (set (for [x (range 4)] (* 4 x))) > ;=> #{0 4 8 12} > > Does that help? yes, thank you. -- 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

Re: List comprehension and sets

2011-05-24 Thread MarisO
> Does this actually yield a set in Scala? yes, it does > What is p()? A set constructor? p(i) reads i-nth element from a vector def selectRow(p: Vector[Int], i: Int) = { for (i <- (i - i % 9 to i - i % 9 + 8).toSet[Int]) yield p(i) } -- You received this message because you are subscri

Re: Passing "environment configuration parameters" to a Clojure web app

2011-05-24 Thread Allen Johnson
> The DTD/schema for web.xml files is not small (e.g. > http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd).  Rather than offering a > transliteration of a subset of web.xml's elements into sexprs, perhaps it > would be better to be able to control your web.xml directly, and have > lein-ring use i

Re: List comprehension and sets

2011-05-24 Thread Andreas Kostler
Hi, try (set (for [x (range 4)] (* x 4))) Cheers Andreas On 24/05/2011, at 8:40 PM, MarisO wrote: > Is it possible to use list comprehension to generate a set ? > For example in scala I can do: > > for (i <- (2 to 8).toSet[Int]) yield p(i) > > In clojure this > > (for [ x (set (range 4))]

Re: List comprehension and sets

2011-05-24 Thread Ambrose Bonnaire-Sergeant
On Tue, May 24, 2011 at 6:40 PM, MarisO wrote: > Is it possible to use list comprehension to generate a set ? > For example in scala I can do: > > for (i <- (2 to 8).toSet[Int]) yield p(i) > > Does this actually yield a set in Scala? What is p()? A set constructor? Thanks, Ambrose -- You rece

Re: List comprehension and sets

2011-05-24 Thread Baishampayan Ghose
On Tue, May 24, 2011 at 4:10 PM, MarisO wrote: > Is it possible to use list comprehension to generate a set ? > For example in scala I can do: > > for (i <- (2 to 8).toSet[Int]) yield p(i) > > In clojure this > > (for [ x (set (range 4))] (* 4 x)) > >  generates a list. (set (for [x (range 4)] (*

Re: List comprehension and sets

2011-05-24 Thread Ambrose Bonnaire-Sergeant
Hi Maris, `into` is a useful function for this case. user>> (into #{} (for [ x (set (range 4))] (* 4 x))) #{0 4 8 12} You can use it for lists, maps, vectors. user>> (into {} '([:a "a"] [:b "b"])) {:a "a", :b "b"} user>> (into [] '([:a "a"] [:b "b"])) [[:a "a"] [:b "b"]] Thanks, Ambrose On Tu

List comprehension and sets

2011-05-24 Thread MarisO
Is it possible to use list comprehension to generate a set ? For example in scala I can do: for (i <- (2 to 8).toSet[Int]) yield p(i) In clojure this (for [ x (set (range 4))] (* 4 x)) generates a list. -- You received this message because you are subscribed to the Google Groups "Clojure" gr

Re: Passing "environment configuration parameters" to a Clojure web app

2011-05-24 Thread Chas Emerick
The DTD/schema for web.xml files is not small (e.g. http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd). Rather than offering a transliteration of a subset of web.xml's elements into sexprs, perhaps it would be better to be able to control your web.xml directly, and have lein-ring use it when it'

Nasty

2011-05-24 Thread Michael Wood
http://thedailywtf.com/Articles/Disgruntled-Bomb-Java-Edition.aspx user=> (import '(dont.try_this.at_home ValueMunger)) nil user=> (.start (ValueMunger.)) nil user=> (def a 1) #'user/a user=> a 1 user=> a java.lang.Exception: Unable to resolve symbol: b in this context (NO_SOURCE_FILE:0) a 2 a 1

Re: lein and private locally installed classes

2011-05-24 Thread Andreas Kostler
lein install or mvn mvn install:install-file -DgroupId=blub -DartifactId=blub -Dversion=1 -Dpackaging=jar -Dfile=/path/to/file On 24/05/2011, at 5:55 PM, Eric S Fraga wrote: > Hello, > > I've trawled the 'net etc. but have not been able to find the answer to > a simple question: how can I tell

Re: Re: first element after an element in the sorted-set?

2011-05-24 Thread Sunil S Nandihalli
thanks Meikel.. what you suggested might be it.. Sunil. On Tue, May 24, 2011 at 1:48 PM, Meikel Brandmeyer wrote: > Hi, > > maybe subseq to the rescue? > > user=> (first (subseq (sorted-set 1 2 3 4 5 6) > 3)) > 4 > > I'm not sure about the perfomance, but I'd think it's fast? > > Sincerely > Mei

Re: San Francisco Clojure Users

2011-05-24 Thread David Jagoe
Are you in Nigeria? Anyone else on this list in Africa? On Sunday, 22 May 2011, Emeka wrote: > Okay. > I live in Africa... maybe we should have online meetups for now. > Emeka > > On Thu, May 19, 2011 at 4:29 PM, David Jagoe wrote: > On 18 May 2011 18:54, Emeka wrote: >> David, >> How is Clo

lein and private locally installed classes

2011-05-24 Thread Eric S Fraga
Hello, I've trawled the 'net etc. but have not been able to find the answer to a simple question: how can I tell lein that I want to access classes from a Java package installed locally on my system but not publicly available? If I use "lein repl" from outside a lein project, the class path set u

Aw: Re: first element after an element in the sorted-set?

2011-05-24 Thread Meikel Brandmeyer
Hi, maybe subseq to the rescue? user=> (first (subseq (sorted-set 1 2 3 4 5 6) > 3)) 4 I'm not sure about the perfomance, but I'd think it's fast? Sincerely Meikel -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email t