Hi,
I think you have some misunderstandings here how things work.
* the # notation works only *inside* a syntax-quote.
* you have to create locals with # notation.
* var is a special form which looks up the Var named by the given
Symbol.
(defmacro create-database-methods
[table]
(let [kw-tab
As of Clojure 1.1.0, the problem still persists.
Apparently, it seems to be linked to Slime input that involves GUI-
related system calls.
On my system (Windows XP SP3, 32 Bit, JRE 1.6.0_18, JDK 1.6.0_12) it
can be reproduced as follows:
1. Install Clojure Box 1.1.0 (January 5, 2010)
2. Start the
For the other groups that I subscribe to, the email subjects are
always prefixed with the group name, e.g.
Re: [sage-devel] This is the mail subject
This makes it possible to reliably group the emails into folders.
Is it possible to do the same for Clojure and Clojure-dev?
--
You received this
http://github.com/stuarthalloway/clojure-presentations
Creative Commons License. Enjoy.
Stu
Looks like I'll be doing a talk on clojure next week at the local java
user group.
Any recommendations on slides I can steal? :)
--
Omnem crede diem tibi diluxisse supremum.
--
You received this
On Mar 4, 2:56 am, TimDaly wrote:
> For the other groups that I subscribe to, the email subjects are
> always prefixed with the group name, e.g.
>
> Re: [sage-devel] This is the mail subject
>
> This makes it possible to reliably group the emails into folders.
> Is it possible to do the same for
On Mar 4, 2010, at 8:00 AM, Rich Hickey wrote:
>
>
> On Mar 4, 2:56 am, TimDaly wrote:
>> For the other groups that I subscribe to, the email subjects are
>> always prefixed with the group name, e.g.
>>
>> Re: [sage-devel] This is the mail subject
>>
>> This makes it possible to reliably grou
On 4 March 2010 09:56, TimDaly wrote:
> For the other groups that I subscribe to, the email subjects are
> always prefixed with the group name, e.g.
>
> Re: [sage-devel] This is the mail subject
>
> This makes it possible to reliably group the emails into folders.
> Is it possible to do the same f
Hi,
On Mar 4, 2:00 pm, Rich Hickey wrote:
> It is possible for me to put a [Clojure] prefix on the emails. Does
> anyone have any objections to that?
Mailing lists usually generate a "List-Id" header, which identifies
the mail to come from a list and in particular from which list. So it
should
+1 many "quick" interfaces show only the title. Adding [clojure] would be
fine.
On Thu, Mar 4, 2010 at 10:05 AM, Johnny Kwan wrote:
> On Mar 4, 2010, at 8:00 AM, Rich Hickey wrote:
>
> >
> >
> > On Mar 4, 2:56 am, TimDaly wrote:
> >> For the other groups that I subscribe to, the email subjects a
I haven't hacked on new Clojure stuff for the past two months or
so. Now, having updated my repositories, I find that everybody just
dropped ant and moved to leiningen.
I tried to make sense of things, but can't. I must be missing something
big here.
It seems that leiningen assumes that you are b
Rich Hickey writes:
> On Mar 4, 2:56 am, TimDaly wrote:
>> For the other groups that I subscribe to, the email subjects are
>> always prefixed with the group name, e.g.
>>
>> Re: [sage-devel] This is the mail subject
>>
>> This makes it possible to reliably group the emails into folders.
>> Is i
True what said, but sometimes I filter things on subject instead of
list as it is all the same for me (e.g. clojure and compojure-list on
the same label) and there it can be useful as well. Now I have
compojure (low-volume) and clojure (high-volume) split up and it's
just not worth it for the seldo
Hi Jan,
My 2c: Leiningen is an important step, but there is still plenty to do.
My workflow: I am developing multiple Clojure libraries and
applications, with some of the dependencies changing daily. Whenever I
want to make a change, I:
In the project being changed:
git tag a new version n
"artifacts" (huh?!), things get installed in weird places. My clj
script
that gets run by SLIME form Emacs can't find libraries that leiningen
downloaded.
"lein deps" copies dependencies into the project's lib directory.
Various other lein commands assume lib/*.jar is on the classpath, and
It is possible for me to put a [Clojure] prefix on the emails. Does
anyone have any objections to that?
-1. The metadata is already available where metadata is supposed to be
(the headers). Clojure does metadata right, the mailing list should
too. :-)
--
You received this message because
I agree that this would obstruct the subject line needlessly, a
particularly inconvenient thing for anyone who (like me) often reads
list emails on devices with very small screens.
The list is high-volume enough that I suspect the vast majority of
readers filter list emails away from their main in
The .m2 folder is a Maven 2 convention. Leiningen uses Maven
internally.
.m2 contains your "local repository" - the single standard place where
stuff gets downloaded to.
When doing lein deps in a project folder any dependencies are
downloaded to your local repo first (unless you already had the
lib
On Mar 3, 11:03 pm, Meikel Brandmeyer wrote:
> Almost correct:
>
> (use '[clojure.contrib.string :exclude (repeat)])
That did it. Thanks!
I finally had to do this to get the whole package to load:
user=> (use '[clojure.contrib.string :exclude (repeat butlast reverse
get partition drop take)])
I
Hi,
On Mar 4, 4:11 pm, cageface wrote:
> I wonder if it would make sense to rename some of those functions to
> reduce the number of clashes with core.
It's considered a feature that the names of core are duplicated for
similar functionality. This might or might not be a good thing.
Sincerely
On Mar 4, 8:52 am, Stuart Halloway wrote:
> My 2c: Leiningen is an important step, but there is still plenty to do.
Oh yeah.
> Some needs I see:
>
> (0) More point releases of key libs (or some other solution to the
> snapshots problem)
Yes!
> (1) Unify around the project structure imposed b
deftype just defines a map-like structure with fixed fields; it isn't
going to change the way you deal with that structure in an Agent.
-SS
On Mar 3, 5:02 am, zahardzhan wrote:
> Sorry my english
>
> I use in my small clojure program one complicated mutually-recursive
> data structure that repr
I wonder if it would make sense to rename some of those functions to
reduce the number of clashes with core.
Preferred is
(require '[clojure.contrib.string :as str])
Stu
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send e
On Mar 1, 5:33 pm, John Lawrence Aspden
wrote:
> Is the reason the Clojure version is slow that recursive calls to draw-
> tree are boxing and unboxing primitive types?
Recursive calls, like all Clojure function calls, force boxing. This
may or may not have anything to do with the performance di
thank you very much!
On Thu, Mar 4, 2010 at 8:02 AM, Stuart Halloway
wrote:
> http://github.com/stuarthalloway/clojure-presentations
>
> Creative Commons License. Enjoy.
>
> Stu
>
>> Looks like I'll be doing a talk on clojure next week at the local java
>> user group.
>>
>> Any recommendations on
On 04.03.2010, at 14:33, Jan Rychter wrote:
> It seems that leiningen assumes that you are building an application. It
> downloads all dependencies and can build an uberjar for you. That's
> great, but what if what I have is a bunch of libraries, all being
> developed and modified?
That's my situ
Garth, J,
It is precisely the point that I would like to differentiate emails
away from my main inbox.
I use thunderbird as my mail reader and I cannot find a way to
differentiate clojure emails. I use the mailing list tag as a
way to filter all other groups and they all seem to use the
[groupna
Lein could be a step in the right direction, but I wonder how it will
manage to evolve given the complex tools it uses internally.
I have also seen a weird issue in my code base which has two classes
derived from java.lang.Exception. If I do a clean and try compile, I
get an error saying that my.p
On Mar 4, 7:21 am, Stuart Halloway wrote:
> Preferred is
>
> (require '[clojure.contrib.string :as str])
That's an easy solution. Thanks.
--
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
N
Hi Tim,
I just downloaded Thunderbird to take a look, and I haven't tested this, but
you might try the following (have you already tried this? you mentioned
List-ID, so maybe this doesn't work...):
- Open the filters dialog, click New
- Create a new filter (click the + in the top list)
- In the d
Sorry, made a mistake.
List-ID header contains clojure.googlegroups.com
Mailing-list header contains clojure@googlegroups.com
Note the @.
On Thu, Mar 4, 2010 at 12:06 PM, Garth Sheldon-Coulson wrote:
> Hi Tim,
>
> I just downloaded Thunderbird to take a look, and I haven't tested this,
> but
Garth,
Worked. Thank you.
Rich, consider the question closed.
Tim
Garth Sheldon-Coulson wrote:
Hi Tim,
I just downloaded Thunderbird to take a look, and I haven't tested
this, but you might try the following (have you already tried this?
you mentioned List-ID, so maybe this doesn't work...)
Hi,
On Thu, Mar 04, 2010 at 07:11:59AM -0800, Praki Prakash wrote:
> I have also seen a weird issue in my code base which has two classes
> derived from java.lang.Exception. If I do a clean and try compile, I
> get an error saying that my.package.MyException class not found. My
> workaround is, s
On 4 March 2010 10:19, Stuart Sierra wrote:
> As many of you know, I've always been tepid on lein. I'd rather go
> with Maven whole-hog, because that offers the most robust model for
> incorporating Java libraries.
Out of interest, what scenarios does Maven account for that Leiningen
currently d
On Thu, Mar 4, 2010 at 10:59 AM, Konrad Hinsen
wrote:
> Right, but its imperfections have bothered me often enough. For once, if
> you have different applications that require different versions of the same
> library, you are in for a major headache. Python setuptools and its eggs are
> a partial
On Thu, Mar 4, 2010 at 8:33 AM, Jan Rychter wrote:
> Also, I now have at least six clojure jars in ~/.m2 (huh?!), along with
> a collection of other assorted stuff. I don't want to use any of these
> clojure jars, I have a checked out git repo with clojure and this is the
> only code I want to ru
On Thu, Mar 4, 2010 at 10:19 AM, Stuart Sierra
wrote:
> As many of you know, I've always been tepid on lein. I'd rather go
> with Maven whole-hog, because that offers the most robust model for
> incorporating Java libraries.
>
If Lein evolves to to handle dependencies of dependencies and intelli
You can use *agent* from inside an agent thread to obtain the
"current" agent.
On Mar 3, 2:02 am, zahardzhan wrote:
> Sorry my english
>
> I use in my small clojure program one complicated mutually-recursive
> data structure that represents an agent-in-environment. This structure
> is clojure ag
On Mar 4, 7:23 am, Stuart Sierra wrote:
> On Mar 1, 5:33 pm, John Lawrence Aspden
> wrote:
>
> > Is the reason the Clojure version is slow that recursive calls to draw-
> > tree are boxing and unboxing primitive types?
>
> Recursive calls, like all Clojure function calls, force boxing. This
>
Wilson MacGyver wrote:
Looks like I'll be doing a talk on clojure next week at the local java
user group.
Any recommendations on slides I can steal? :)
Feel free to use mine -
http://www.slideshare.net/zaph0d/introduction-to-clojure
Regards,
BG
--
Baishampayan Ghose
oCricket.com
--
You rec
On 4 Mar 2010, at 19:38, David Nolen wrote:
Imperfections meaning it's perfectly broken :) That's why tools like
virtualenv exist for Python.
I'd say it's "New Jersey style": good enough for 90% of the users, but
indeed fundamentally broken.
Konrad.
--
You received this message because y
After months of work, Conjure 0.4 is finally released.
Conjure is a Rails like web framework for Clojure. With in only a few
seconds, you can start a web server with a database backend and an MVC
clojure framework running it all.
You can download 0.4 here: http://github.com/macourtney/Conjure/dow
Wow :-)
Can't wait for seeing a presentation on Vimeo by Sean ;-)
2010/3/4 Matt :
> After months of work, Conjure 0.4 is finally released.
>
> Conjure is a Rails like web framework for Clojure. With in only a few
> seconds, you can start a web server with a database backend and an MVC
> clojure f
We're having a meetup for Pittsburgh-area Clojure programmers. The
first meeting is Wednesday March 10th at 7pm at The Library (on Carson
Street). The plan for now is to have shorter talks and presentations,
followed by general discussion and possibly some (hopefully fun!)
coding. We welcome any
On Mar 4, 8:33 am, Jan Rychter wrote:
> I haven't hacked on new Clojure stuff for the past two months or
> so. Now, having updated my repositories, I find that everybody just
> dropped ant and moved to leiningen.
> How do people deal with this?
I don't have any good answers for you; I just want
thank you, going though it now. :)
On Thu, Mar 4, 2010 at 2:56 PM, Baishampayan Ghose wrote:
> Wilson MacGyver wrote:
>>
>> Looks like I'll be doing a talk on clojure next week at the local java
>> user group.
>>
>> Any recommendations on slides I can steal? :)
>
> Feel free to use mine -
> http:
Hi,
This is really good news.
I think making the Clojure libs that everyone is writing available to
ClojureCLR is essential for ClojureCLR to get traction and possible
real-world usage.
Could you elaborate on how you are trying to do this?
Thanks, Adam.
On Mar 3, 1:17 am, soyrochus wrote:
> H
On 5 March 2010 04:39, Chris Perkins wrote:
>
> The situation is worse on Windows, where I can't even get leiningen to
> work at all. Luckily I'm only working on one clojure project, so I
> just copy clojure.jar and clojure-contrib.jar into my project's lib
> directory, as well as a faked versio
ataggart writes:
> You can use *agent* from inside an agent thread to obtain the
> "current" agent.
Is this documented?
--
Steven E. Harris
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.
On 05/03/2010, at 5:29 AM, David Nolen wrote:
> On Thu, Mar 4, 2010 at 10:19 AM, Stuart Sierra
> wrote:
> As many of you know, I've always been tepid on lein. I'd rather go
> with Maven whole-hog, because that offers the most robust model for
> incorporating Java libraries.
>
> If Lein evolve
> >
> > If Lein evolves to to handle dependencies of dependencies and
> intelligently generates the classpath based on these dependencies (instead
> of copying files around) what advantage does Maven really have?
>
> The tools (e.g. Archiva, Nexus et al), documentation, IDE support,
> integration w
Thank you all, the replies so far and the questions have already
deepened my understanding considerably!
Looking forward to more. I think a bit more discussion like this (not
necessarily my quite skimpy example) would be quite valuable to many
like me.
--
You received this message because you ar
I have implemented the half-edge data structure several times now for
mesh representation. Basically there are three main data structures
(vertex, edge, face). I'll explain them a bit, but I think this is a
more functional programming/Clojure question than actual geometry.
A vertex is a corner o
I am also on Windows and have struggled a good deal with Leiningen (I
would like to avoid wrangling classpaths myself as far as possible). I
finally got Leiningen to run, but some features like lein swank still
elude me (though this is a problem of swank-clojure and not of
Leiningen). I agree that
Oh, thanks Meikel, I don't have a strong knowledge of how those
symbol, gensym and symbolic quote and unquote work?
It's like a puzzle, but I think I know a bit more with your help .
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this grou
Hi,
On Mar 5, 1:03 am, Felix Breuer wrote:
> I agree that Windows is a second class citizen as far as clojure
> tools go.
Oh please stop that. I have a stable setup of Gradle + Clojuresque +
VimClojure on Windows. Granted setting up VimClojure on Windows is
tricky due to Vim and Windows specifi
Hi,
On Mar 5, 2:57 am, "Steven E. Harris" wrote:
> ataggart writes:
> > You can use *agent* from inside an agent thread to obtain the
> > "current" agent.
>
> Is this documented?
Yes.
http://richhickey.github.com/clojure/clojure.core-api.html#clojure.core/*agent*
Sincerely
Meikel
--
You rec
On Thu, Mar 4, 2010 at 7:03 PM, Jan Rychter wrote:
>
> As a more general observation, I think that a large part of Perl's and
> Python's success was a unified way of dealing with libraries. There
> are certain directories where you can drop libraries and expect them to
> work (be found). There is
Hi,
On Mar 5, 7:47 am, Martin DeMello wrote:
> One huge drawback I've found with clojure (which it doubtless
> inherited from Java) is that you need an actual jarfile in your
> classpath, not just the directory containing the jarfile.
With newer Java versions you can specify wildcards. java -cp
On 5 Mar, 01:03, Felix Breuer wrote:
> I am also on Windows and have struggled a good deal with Leiningen (I
[...]
> On 5 Mrz., 00:32, Glen Stampoultzis wrote:
>
>
>
> > On 5 March 2010 04:39, Chris Perkins wrote:
>
> > > The situation is worse on Windows, where I can't even get leiningen to
59 matches
Mail list logo