On 2 February 2010 05:14, Raoul Duke wrote:
> given keyword isn't one that is supported,
> or no load target given
Good point, I've updated the ticket patch to check options are valid
also, so the behavior is now:
user=> (use 'foo :foo :bar)
java.lang.Exception: Unsupported option(s) supplied: :
On 6 February 2010 00:52, Mike Jarmy wrote:
> OK, here's a slightly more elaborate toy example that works. In this
> example, foo-main.clj needs foo-a.clj, and they both need
> foo-util.clj. I was expecting the (in-ns) call in foo-a to have a
> ":load" keyword, just like (ns) in foo-main, but it
P.S.:
Instead of:
(print (format "blah: %s\n" arg))
You could use:
(printf "blah: %s\n" arg)
or:
(println "blah:" arg)
If you want no space after the colon, you could use:
(println (str "blah:" arg))
--
Michael Wood
--
You received this message because you are subscribed to the Google
Hello folks!
I am from the Netherlands and I am learning Clojure now, using it at work,
and loving it so far. Are there any more dutch Clojure programmers on this
list so we can meet? I am also interested to know about Clojure-programmers
from any country in a reasonable distance from Strasbourg.
Hi,
Am 06.02.2010 um 12:26 schrieb Joop Kiefte:
> I am also interested to know about Clojure-programmers from any country in a
> reasonable distance from Strasbourg.
If you mean the Strasbourg in France: I live near Frankfurt am Main. It's a
little more than 2h with the car. That could count a
OK, thanks guys
On Sat, Feb 6, 2010 at 12:04 AM, ataggart wrote:
> Circular references mean your namespace design is broken.
>
> --
> 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
Phil Hagelberg wrote:
On Thu, Feb 4, 2010 at 8:33 AM, Stuart Sierra
wrote:
Clojure can certainly do these things; clojure-contrib contains many
file and io-related utilities. But remember that Clojure, like any
Java program, takes more time to start up than "scripting" languages
like Perl/Bash
Hello.
I am unfamiliar with maps. How do I add myself to this map?
- Tommy
On Feb 6, 12:48 pm, Meikel Brandmeyer wrote:
> Hi,
>
> Am 06.02.2010 um 12:26 schrieb Joop Kiefte:
>
> > I am also interested to know about Clojure-programmers from any country in
> > a reasonable distance from Strasbo
On Feb 6, 2010, at 10:08 AM, Tommy wrote:
> I am unfamiliar with maps. How do I add myself to this map?
Figuring that out has taken me a long time on at least two occasions...
The key is you need to be signed in to make changes.
- At the upper right of the page is "sign in". Use that to sign
On Feb 5, 1:47 pm, Peter Schuller wrote:
> One problem is that there needs to be a convention for a clojure
> "binary" that works consistently across platforms.
My extremely biased opinion: Clojure is not a scripting language.
The "binary" is java. System-wide classpaths are a bad idea.
-SS
-
> My extremely biased opinion: Clojure is not a scripting language.
One can spent a lot of time debating the definition of 'scripting
language', but sure. The bigger issue though:
> The "binary" is java. System-wide classpaths are a bad idea.
In theory I agree with you. The concept of site-loc
It works fine, thank you :)
On 6 Feb., 16:26, "Stephen C. Gilardi" wrote:
> On Feb 6, 2010, at 10:08 AM, Tommy wrote:
>
> > I am unfamiliar with maps. How do I add myself to this map?
>
> Figuring that out has taken me a long time on at least two occasions...
>
> The key is you need to be signed
On Feb 4, 8:11 pm, Bryce wrote:
> I take your point; I've given up trying to actually define a function
> with the expression for the moment (I'd imagine it's still possible,
> just much trickier than I thought). My intention was to fake operator
> overloading. For my purposes it should be enoug
How about having a Clojure application 'package' set up a launcher
script to launch the app with a minimal classpath, Leiningen style,
based on some assumption regarding the whereabouts of versioned jars
on the system? (E.g. jline-0.9.94.jar rather than jline.jar, say.)
That seems to me to be pref
> How about having a Clojure application 'package' set up a launcher
> script to launch the app with a minimal classpath, Leiningen style,
> based on some assumption regarding the whereabouts of versioned jars
> on the system? (E.g. jline-0.9.94.jar rather than jline.jar, say.)
Something along tho
On Feb 6, 12:26 pm, Joop Kiefte wrote:
> Hello folks!
>
> I am from the Netherlands and I am learning Clojure now, using it at work,
> and loving it so far. Are there any more dutch Clojure programmers on this
> list so we can meet? I am also interested to know about Clojure-programmers
> from any
Hoi Joop,
I live in NL.
Cheers,
Hubert.
On Sat, Feb 6, 2010 at 12:26 PM, Joop Kiefte wrote:
> Hello folks!
> I am from the Netherlands and I am learning Clojure now, using it at work,
> and loving it so far. Are there any more dutch Clojure programmers on this
> list so we can meet? I am also i
On Feb 5, 9:44 pm, nchubrich wrote:
> Is there ever any reason to use memfn as opposed to ordinary
> functions, i.e.
>
> (def div (fn [x y] (.divide x y)))
You should normally use the doted notation. I used it while
experimenting with a macro that wrap Java classes, but it isn't the
right way to
On Feb 6, 1:06 pm, Peter Schuller wrote:
> But the practical issue
> remains that if I want to write some software that I want sysadmins in
> various situations to want to use effortlessly (in my case, a backup
> tool), problems like these do get in the way of choosing Clojure.
>
> Maybe uberjars
There is a group of us hacking Clojure in Amsterdam and Utrecht.
Where are you? Join the Amsterdam Clojurians Google group, and we'll
meet for a pizza.
-Jeff
On Feb 6, 12:26 pm, Joop Kiefte wrote:
> Hello folks!
>
> I am from the Netherlands and I am learning Clojure now, using it at work,
> an
Hi!
>>dotimes
>>macro
>>Usage: (dotimes bindings & body)
This is from clojure api.
But I don't know how to use dotimes with several bindings. I've tried
to do it different ways, but I got error every time.
So how to use dotimes with several bindings?
--
You received this message because you are
In the doc for dotimes, the "bindings" are required as "name n" (see below).
Hence (dotimes [i 5] ... ) is the only pattern. Check out (doseq and (for
for what you're trying to do.
user=> (doc dotimes)
-
clojure.core/dotimes
([bindings & body])
Macro
bindings => name n
On Sat, 6 Feb 2010 18:25:47 -0800 (PST)
Constantine Vetoshev wrote:
> On Feb 6, 1:06 pm, Peter Schuller wrote:
> > But the practical issue
> > remains that if I want to write some software that I want sysadmins in
> > various situations to want to use effortlessly (in my case, a backup
> > tool)
23 matches
Mail list logo