Preamble:
I've read some about xml and clojure, and done some mostly trivial things
(reading and writing values from and to xml). Most of the examples I've
seen of parse, zip, etc are very elegant and do a great job at reading a
specific x-path-like value or series of values. But I'm stuck trying
1. install Leiningen and learn the basics
2. get everyone an editing environment, with the option of using either
Emacs, IntelliJ, or Eclipse
I would have people do this in advance, or provide a canned environment
that has a better chance of "just working". There's decent odds that these
two steps
I had various issues with clojure-mode, swank, slime, etc. with emacs 23 until
I switched to emacs 24.
Emacs 24 is much simpler to download now (don't have to compile from source)
and is likely the quickest solution to all your clojure/emacs issues.
-Original Message-
From: Menelaos Pe
Have you already tried println'ing the args out, and/or constructing a single
line like this?
(def problem-cmd (str "app" "arg1" "arg2" "etc"))
(sh/sh problem-cmd)
-Original Message-
From: Eric in San Diego
Sender: clojure@googlegroups.com
Date: Wed, 11 Jul 2012 15:21:03
To:
Reply-To
e.
-Original Message-
From: Brian Marick
Sender: clojure@googlegroups.com
Date: Sun, 17 Jun 2012 23:31:22
To:
Reply-To: clojure@googlegroups.com
Subject: Re: meta-questions - [clojure] in front of Subject line
On Jun 17, 2012, at 7:23 PM, Peter Buckley wrote:
> I know mac products ar
Having [clojure] in front of the subject obscures the subject with redundant
information. It's wasting valuable space at the front of the subject line that
could be used for, well, the subject, which I'm actually interested in.
The mail is already from clojure@googlegroups, to clojure@googlegrou
Probably over-cautious because of my ignorance, but I don't know if I would
name the project "swank-test" as I haven't paid too close attention to what
seems a slightly confusing rule about "dashes in namespaces and underscores in
filenames" - also swank-test might be some sort of existing names
Once I got lein swank and slime-connect working in emacs, I essentially stopped
using the repl directly. The real magic and beauty of writing clojure in emacs
is that I can write a fn, then C-x C-e to evaluate it right there in the file.
I can evaluate inner forms, test every line of the file to
-> high-level languages are there to make coding more efficient and effective
-> the whole point of high-level
languages is to satisfy our need to express our ideas/logics in a more
natural way
I'd argue that you're in violent agreement with each other :-)
If I can express my idea/logic in a mo
The tooltips work well on my BlackBerry, thanks!
-Original Message-
From: Rostislav Svoboda
Sender: clojure@googlegroups.com
Date: Sat, 24 Mar 2012 13:18:57
To:
Reply-To: clojure@googlegroups.com
Subject: Re: Clojure cheatsheet with tooltips (alpha)
Hi Andy
On 24 March 2012 11:15, And
TL;DR I have an extra clojure.core/fn wrapped around the form I want
returned from my macro. This is my first macro and I'm not sure what's
wrong, even though the macro "works."
I'm trying my first attempt at a macro by trying to save myself from
having to type "sql/with-connection db" for every t
They announced it today:
http://immutant.org/news/2011/11/01/announcing/
-Original Message-
From: Jason Toy
Sender: clojure@googlegroups.com
Date: Tue, 1 Nov 2011 13:48:54
To: Clojure
Reply-To: clojure@googlegroups.com
Subject: Re: Thoughts on a polyglot app server?
Any more plans or i
In emacs you can give a number to preface many commands, e.g. C-37 C-n will
perform "next line" 37 times, and C-37 C-p will perform "previous line" 37
times. You can setup keybindings for these as well, but I find the basic
navigation commands like C-v/M-v (up/down a page) and C-l (center curren
I'll be arriving between 9:30 and 10pm, and I expect to be up for some
coding or a drink, or perhaps a little of both.
-Peter
On Mon, Oct 18, 2010 at 2:12 PM, wrote:
> Count me out, pretty sure I'll need a drink by the time I arrive (21:00).
> I like so much airplane travels, livestock receives
I'm only a little ways through Joy of Clojure (my first Clojure book)
but bear with me as I'm thinking aloud on what it means for me to
"think in Clojure." I hope list members will forgive me if I get
things wrong - and please correct my working concept(s) as well.
One of the things that stuck out
Thanks Abishek, this did help!
It pretty much worked as-is for me, I only needed one small change.
It was that the get-mods-for-iva function below returns a seq whose
first element is the matches and next element(s) were my entire xml
content - easily rectified with (first (xz/xml1-> x-zip...
On
16 matches
Mail list logo