he actual upload.
On Tuesday, December 13, 2016 at 8:25:41 PM UTC-5, Michael Wood wrote:
> Another option: Whatever accepts the upload (e.g. a cgi script) moves the
> file to where the clojure code expects to find it only when it is fully
> uploaded. the move should be an atomic operation.
Yes, exactly. Move and rename are the same thing :)
On 14 Dec 2016 08:41, "Torsten Uhlmann" wrote:
... or renames it. That's what browsers do for instance when downloading
stuff.
Michael Wood schrieb am Mi., 14. Dez. 2016 um
02:25 Uhr:
> Another option: Whatever accepts
Another option: Whatever accepts the upload (e.g. a cgi script) moves the
file to where the clojure code expects to find it only when it is fully
uploaded. the move should be an atomic operation.
On 11 Dec 2016 21:47, "larry google groups"
wrote:
>
> I'm in a situation where we allow staff to up
Perhaps try on the Clojurescript mailing list.
https://groups.google.com/group/clojurescript
On 05 Jul 2016 4:15 PM, "gilmoretj" wrote:
> I suspect there is a MS Windows-specific configuration step missing from
> the Quick Start guide (
> https://github.com/clojure/clojurescript/wiki/Quick-Start
In addition to what the others said, try symbolhound:
http://symbolhound.com/?q=%23%27+clojure
--
Michael Wood
On 05 Jun 2015 10:05 PM, "Dru Sellers" wrote:
> Trying to google what #' means is tricky to say the least.
>
> Is there a good name for these that I can g
You're in luck!
Check the link at the bottom of this page:
https://tbaldridge.pivotshare.com/
--
Michael Wood
On 29 Sep 2014 4:05 PM, "Luis Matoso" wrote:
> +1 for Paypal. I from brazil and i would be awesome to pay using paypal
>
> On Monday, September 22, 2014 1:
As a workaround, see if running "stty sane" fixes your terminal.
--
Michael Wood
On 28 Sep 2014 4:43 PM, "tao.zhou2009" wrote:
> Last login: Sun Sep 28 22:30:20 on ttys005
>
> 192:test tao$ lein repl
>
> nREPL server started on port 60609 on host 127
That whole form is not something you would be likely to write. I think the
exercise is just trying to demonstrate that the version with the -> is
equivalent to the version without the arrow and perhaps also that (= a b c)
can be used instead of (and (= a b) (= b c)).
--
Michael Wood
On 01
Just s guess: Maybe the classpath is absolute in one case and relative in
the other.
On 07 Nov 2013 7:15 PM, "Phillip Lord" wrote:
>
>
> I find myself confused by the metadata on a var. Consider this code:
>
> (def a-test-var 10)
>
> (pritnln (meta #'a-test-var))
>
> Now when run under "lein test
l lines?
>
Well, there are four reasonable-ish possibilities:
1.) Do nothing, because it is ambiguous.
2.) Uncomment all lines.
3.) Comment all lines.
4.) Uncomment all commented lines and comment all uncommented lines.
I think that doing either 2 or 3 would be more useful than 1 or 4,
etc.
> It's probably an incorrect guess. That's why I've decided to consult the
> community :D. Any help is appreciated in advance!
>
>
--
Michael Wood
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to
group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe fr
e information.
>>> 148.52 * 0.0256
3.80211206
and here's how you should be able to get exact values in Clojure:
user=> (* 148.52M 0.0256M)
3.802112M
> If you don't believe me try it on: http://tryclj.com/
>
> thx
>
> Bost
--
Michael Wood
--
--
Y
On 27 March 2013 15:14, Alf Kristian Støyle wrote:
[...]
> Pretty easy to inspect the classpath in the repl, e.g: (filter #(= (key
> %) "java.class.path") (System/getProperties))
>
Or:
(get (System/getProperties) "java.class.path")
--
Michael Wood
--
--
You
gt;(println a b)))
>> 3 2
>> nil
>>
>> is there something that would let me know I'm overwriting "a" ? I figure
>> if something like this would slip by would be tough to track down
>>
>>
>> On Tue, Feb 12, 2013 at 1:46 PM, Michael
scribe from this group, send email to
>> clojure+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Clojure
figuration File does not have access to a user's
environment variables, not even the superuser. This is not possible
since all job processes created are children of init which does not
have a user's environment."
I suspect that has something to do with the problem.
> Oh, and for cla
e project. I've found <
> http://www.gnu.org/licenses/gpl-howto.html> to be very helpful in getting
> the license stuff set up.
>
> ---John
>
--
Michael Wood
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
T
rious: But why would you want that? I would happily live without
>> that
>> as it reduces line-noise and leaves more room for important information
>> such
>> as the actual subject. It is not necessary to filter mails (just filter on
>> List-I[dD]) either, so I'd
quot; version already and github just abandoned.
Just because the documentation is not up to date it does not mean that
github has been abandoned. If you look here:
https://github.com/noir-clojure/noir/blob/master/project.clj
you will see that the version on github is 1.3.0-beta10.
--
Michael Wood
--
et [client (. server-socket accept)
> output (PrintWriter. (. client getOutputStream)) ]
> (service output)))
>
> (defn run-server [port]
> (let [server-socket (ServerSocket. port)]
> (while (not (. server-socket isClosed))
> (listen-and-respond server-
o 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 this group, send emai
th 2 provider that is designed to be used as a primary
>> authentication provider for a Clojure Ring app.
--
Michael Wood
--
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
64-Bit Server VM
I suspect it's an incompatibility with lein2. Try leiningen 1.x.
--
Michael Wood
--
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
; generate the PDFs from the HTML that I am already maintaining.
I don't know about flying-saucer, but in my experience, WebKit does
not do pagination properly, unless something's changed recently.
--
Michael Wood
--
You received this message because you are subscribed to the Goo
#x27;\a' not
found in user reference fn_787
user=> (/ 22 7)
3
user=> 22/7
Traceback (most recent call last):
[...]
clojure.lang.cljexceptions.ReaderException: Invalid number: 22/7
$
--
Michael Wood
--
You received this message because you are subscribed to the Google
Groups "C
because of the short input text?
>>
>> (lang/detect "My name is joe")
>> ["af" {"af" "0.8571390166207665", "lt" "0.14285675907555712"}]
As an aside, the above is indeed almost valid Afrikaans :) and would
translate to
apply vector-of :int ^{:tag 'longs} (long-array (range 1000)))
Just a guess. Have you tried the following?
(apply vector-of :long ...)
--
Michael Wood
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, sen
gt; (sql/insert-record :fruit
> (sql/insert-rows
As Sean pointed out in one of the previous threads you should not have
both insert-record and insert-rows like this.
> :fruit
> ["Apple" "red" 59 8.7]
> ["Banana" "yellow" 29 92.2
t;
> (run* [q]
> (fresh [x y]
> (!= [x 2] [1 y])
> (== x 1)
> (== y 2)
> (== q [x y])))
Either you have pasted the example twice or you have pasted your
solution twice. I don't know which.
--
Michael Wood
--
You received this message because you are sub
d)
> )
> ENGINE = InnoDB
> AUTO_INCREMENT = 0
>
> According to the AquaStudio tool I use to reverse engineer the DDL.
Just by the way, MySQL supports this:
SHOW CREATE TABLE meta_entities\G
No need to reverse engineer the DDL for the tables :)
--
Michael Wood
--
You received
sume by your question that you are running Windows.
--
Michael Wood
--
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 pa
uld have two arguments but has one.
>
> I am using clojure 1.2.
I can confirm this using Clojure 1.2.1.
Even more simple than the above:
user=> (defn foo->foo2 [a b] "")
#'user/foo->foo2
user=> (foo->foo2 1)
java.lang.IllegalArgumentException: Wrong number o
o Clojure 1.2 together with our patched-up
> monolithic contrib.
Since the new, separated contrib libraries are supposed to be
compatible with Clojure 1.2, you could perhaps also start migrating
one lib at a time at your leisure. This might even enable you to
contribute to a migration document.
ever used cake, but I think it's basically an alternative to
Leiningen. What happens if you try "cake repl" instead of "lein
repl"?
--
Michael Wood
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this gr
interesting :)
> Cheers,
> Stefan
>
> PS: Ubuntu 10.04 on a "Pentium(R) Dual-Core CPU E6300 @ 2.80GHz" (from
> /proc/cpuinfo) with "MemTotal: 8127764 kB" (/proc/meminfo) using 'java
> version "1.6.0_26"'
--
Michael Wood
--
You rec
q coll)).
Please use the idiom (seq x) rather than (not (empty? x))
nil
--
Michael Wood
--
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 moder
re?
Does this help?
user=> (class '("c"))
clojure.lang.PersistentList
user=> (if-let [[a & coll] coll] coll)
(["b"] "c")
user=> (class (if-let [[a & coll] coll] coll))
clojure.lang.PersistentVector$ChunkedSeq
user=> (list? (if-let [[a &
t seem strange
coming from Python, but since they help with things like the classpath
and downloading dependencies etc. that's generally worth the effort.
e.g.:
lein new myproject
cd myproject
edit project.clj
(add the clojure.contrib.str-utils dependency)
lein deps
lein repl
https://github.
> (new js/Date)
#
ClojureScript:cljs.user> (js/Date.)
#
--
Michael Wood
--
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 patien
gt; documents for teams": http://www.google.com/apps/
>
> Then there's "Google App Engine" which is their elastic cloud service
> supporting Python and Java web applications (with some class restrictions):
> http://www.google.com/enterprise/cloud/appengine/
>
>
ck what is causing it or to verify
your assumptions.
Anyway, as Stuart says, profiling is probably your best option.
--
Michael Wood
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroup
in the
Clojure source code:
(defn with-redefs-fn
"some doc string"
{:added "1.3"}
[binding-map func]
[...]
Here ":added" refers to the version of Clojure it was added in rather
than a specific date, but for a function, that often makes more sense,
I think. You s
s possible to do that with ClojureQL I have no idea.
> You'd need to have a single query to the DB, which will run as a
> single transaction, generate both res1 and res2. I'm not sure if that
> will always be possible; my SQL-fu is a little rusty.
--
Michael Wood
--
Y
you can use:
(range 1 20)
instead of:
(rest (range 20))
and zero? instead of (= x 0).
e.g.:
(filter #(zero? (mod 20 %))
(range 1 (apply max [10 20])))
--
Michael Wood
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this
"If you don't have a
> strong affinity for a specific IDE or editor, why not try Clooj which
> is a simple, lightweight editor focused on Clojure? Otherwise see the
> options below for adding Clojure support to your favorite IDE..."
+1
--
Michael Wood
--
You received
formation about what went wrong.
--
Michael Wood
--
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
f
on fun again.
>
> So, unless 4 can be made workable, then the typical use scenario for a
> version control system involves both a) "remote storage" of code and
> b) a "server". Their exact roles may vary. The exact way that
> checkouts and commits work may vary. But
;; <- max1
> ([x y] (if (> x y) x y)) ;; <- max2
> ([x y & more] (reduce max (max x y) more))) ;; <- max3
>
> is the equivalent of max1, max2 and max3 but using a single name.
> Clojure will select the form to execute based on
, Other)
>> `
>
> Nothing like that is there. Just this:
>
>>>>
>>>>
>>>>
>
> and the only reason anything at all is visible is because it's gotten
> quoted three levels deep.
No, there's definitely a character there. Fo
On 6 July 2011 10:37, Ken Wesson wrote:
> On Wed, Jul 6, 2011 at 4:30 AM, Michael Wood wrote:
>> On 6 July 2011 10:14, Ken Wesson wrote:
>>> Sorry, but I think version control and, particularly, dealing with
>>> edit collisions is not something you can solve as ea
beyond a reasonable doubt
> that it'll work, but if not ...
CVS is an old version control system that was far better than the
other things around at the time it was invented, but most people seem
to agree that other, more modern, version control systems are better
and/or more reliable.
-
me
> meaningless.
No, not meaningless. Just perhaps less reliable.
CVS does not support atomic commits either, which some people find
acceptable and others do not.
--
Michael Wood
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to
And I've just tested it to be sure. Also, CVS originally
did not support networking at all. It was originally designed to be
used by different users on a multi-user machine.
Anyway, the point was that "repository" needn't have anything to do
with networking.
--
Michael Wood
l...
I take it to me "somewhere you can store stuff in a particular
structure perhaps with metadata" so that maven knows what's there and
how to set up class paths and whatever else it needs to do with it.
--
Michael Wood
--
You received this message because you are subscribed to the
urely locally I'd want to firewall the port it's
> using to make sure it's unreachable from any address other than
> 127.0.0.1.
"Repository" need not imply anything to do with networking. I'm sure
someone will correct me if I'm wrong, but I am pretty
fn class-methods [class-name]
(map #(.getName %) (.getMethods class-name)))
--
Michael Wood
--
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
ere to call str/split. [...]
I'm having trouble understanding why you're trying to use str/split
when you appear to be wanting to use clojure-csv.
Surely clojure-csv should do the splitting for you? Or what are you
trying to split?
--
Michael Wood
--
You received this message because y
of the e-mail shows them as red, so I suspect the
asterisks are just how Gmail or Google Groups produced the text/plain
part. i.e. Manoj may not be aware that they will show as *(* etc. in
e-mail clients that display only the text part of an e-mail with both
text and HTML parts.
--
Michael Wood
--
t; > How can I determine which strings differ only at one location (e.g.
>> > "xxe" and "xbe")?
>>
>> > Right now, I'm writing a loop that sequentially compares every string
>> > to every other string. I think that there's a better way,
ng (System/exit 0) in the end, but then it didn't even
> display anything before quitting.
>
> Hope to get some answers. Clojures lazy evaluation sometimes confuses
> me.
My first guess is that you need a (shutdown-agents) call at the end.
--
Michael Wood
--
You received thi
On 27 May 2011 18:30, Michael Wood wrote:
[...]
> or:
>
> (first (filter (complement nil?) coll))
Ah, sorry, I see Sam already suggested this one.
--
Michael Wood
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to thi
raight-forward. I'd also prefer to avoid contrib for a
simple thing like this.
--
Michael Wood
--
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 memb
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
&
h&z=4&iwloc=00045c4ebd01b08917060
--
Michael Wood
--
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 you
ble to resolve symbol: b in this context
(NO_SOURCE_FILE:2)
user=> a
2
a
java.lang.Exception: Unable to resolve symbol: b in this context
(NO_SOURCE_FILE:0)
user=> a
2
user=> a
42
a
java.lang.Exception: Unable to resolve symbol: b in this context
(NO_SOURCE_FILE:0)
--
Michael Wood
--
You receiv
rted-set 1 2 3 4 5 6)))
--
Michael Wood
--
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 po
thread/91d4f13090afb876/97f8d88255d58798#97f8d88255d58798
--
Michael Wood
--
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 patie
On 20 May 2011 23:25, Lee Spector wrote:
>
> On May 20, 2011, at 5:08 PM, Michael Wood wrote:
>>
>> So maybe the problem you're having is that jEdit can't find the
>> clojure.xml mode file?
>>
>
> Not sure, but it does say I'm in Clojure mode...
nder
> the "o" or the "n", but I don't see any rationale for it being under the "a".
Well, that seems to be a constant 8 space indentation. If I were to
guess I'd say jEdit is not detecting your files as Clojure files and
is indenting them incorrectly as a
s to indent the line where the cursor is, or I
can e.g. select all and then Edit|Indent|Indent Lines to indent the
whole lot the same way it does while entering the code manually.
So maybe the problem you're having is that jEdit can't find the
clojure.xml mode file?
This is the first
ce code but I'm just a fresher of
> Clojure and also need some guides/materials about the internal
> mechanism, I guess it likes kind of database implementation (locks &
> latches), but I'm not familiar with that field either.
>
> BTW, I got a Java background and know a
7;m not
> mistaken, modern SQL Server versions also accept the double-quote.
MySQL can be configured to accept double quotes too, but yes, by
default it uses back ticks.
--
Michael Wood
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To po
connection; a single
process/thread handling multiple clients with select()/poll()/etc. and
combinations or variations on these. e.g. starting a pool of
processes to avoid the startup time of a new process when a new client
connects.
--
Michael Wood
--
You received this message because you are s
as if it were Mercurial and it seems to
work well.
The only possible issue is that it puts a bit of metadata in some of
the log messages, but maybe that's not an issue and maybe it's
possible to turn it off if it is an issue.
--
Michael Wood
--
You received this message because you are
nd the ticket it refers to:
http://dev.clojure.org/jira/browse/CLJ-426
Looking at the ticket it is being worked on.
--
Michael Wood
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups
optimus maximus.
> I think there are experimental display devices
> for the blind that could be put under a flexible oled touchscreen to
> make a fully programmable keyboard that actually had keys you could
> feel and push down, but that's even longer to make practical and
> in
functions, but can be used like functions.
e.g.: ({:foo "bar"} :foo)
or: (:foo {:foo "bar"})
--
Michael Wood
--
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 t
lem.
Yes, that's why I said it would get you "closer". :)
--
Michael Wood
--
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 a
MAC address probably gets you as close as you can get without having
> manually-assigned node IDs, or requiring every node have a domain name
> registered (yum! expensive! Verisign would love that suggestion!) :)
Well, MAC address and IP address together would get you closer, and
probably clo
Not that it changes your point...
--
Michael Wood
--
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
ot;)
#'user/exit
user=> exit
"Use Ctrl-C to exit"
user=>
Not sure how likely it would be for someone to add that to Clojure, though :)
--
Michael Wood
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group
I still think the JVM
>> GC should be able to figure out that those locals are dead references.
--
Michael Wood
--
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 tha
ojure namespace to make it executable:
>
> ":";exec java -verbose:gc -Xmn500M -Xms2000M -Xmx2000M -server -cp
> "your-classpath" clojure.main $0 $*;
Similarly here, $* should be "$@". Also, do you need the trailing semicolon?
--
Michael Wood
--
You receive
On 14 January 2011 19:07, Sam Aaron wrote:
[...]
> ---
> http://sam.aaron.nmae
I don't know the answer to your question, but I thought I'd point out
the typo in your signature.
--
Michael Wood
--
You received this message because you are subscribed to the Google
Groups &qu
t)))
user=> (type (select-keys2 (sorted-map-by > 3 1 2 4 5 3) (list 5 2 3)))
clojure.lang.PersistentTreeMap
--
Michael Wood
--
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
"all".
The next paragraph says "Each cases shows the ML code...". This
should of course be "Each case...". Also, what is "ML code"?
Page 16:
There's a missing "'s" in the second sentence: "... a black node (p5)
removeR
he challenge and say "Your C++
> solution may be fast, but in a functional programming language, at
> least we get the right answer :) "
:)
--
Michael Wood
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, se
y mostly to help me write Redis and AMQP clients, but I'm hoping
> people will find it useful for a variety of purposes.
I have used Python's struct library a few times (and perl's
pack/unpack once or twice), so I'm sure Gloss would be useful for the
same sorts of things.
--
On 15 November 2010 16:08, David Sletten wrote:
> The StackOverflowError jumps over the lazy seq.
The quick, brown StackOverflowError jumps over the lazy seq?
--
Michael Wood
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post
eve the underlying problem is a limit of the JVM. Maybe it
would be possible for the Clojure compiler to work around the
limitation, though.
--
Michael Wood
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send e
This is perhaps a little off topic, but related.
I see that http://code.google.com/p/clojure/ has been updated
recently, but still references Assembla.
These could do with an update too:
http://sourceforge.net/projects/clojure/
http://sourceforge.net/projects/clojure-contrib/
--
Michael Wood
quire [active-record.charge :as charge])
> (:require clj-record.boot))
>
> (user/create
> {:login "rob"
> :first_name "Robert"
> :last_name "Berger"
> :password "secret"
> :email_address "r...@runa.com"})
>
> ;; No
;ve seen something on this list about someone doing
something similar for Clojure.
Ivan, perhaps digging through the list archives will turn up something.
--
Michael Wood
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group,
. The new class to execute is
>> called `vimclojure.nailgun.NGServer` compared to the previous
>> `com.martiansoftware.nailgun.NGServer`.
I have not tried it, but perhaps you're using the wrong nailgun?
--
Michael Wood
--
You received this message because you are subscribed to the Google
Groups &quo
b have moved from github.com/richhickey to
github.com/clojure.
Try this for the current location of trace.clj:
http://github.com/clojure/clojure-contrib/blob/master/modules/trace/src/main/clojure/clojure/contrib/trace.clj
--
Michael Wood
--
You received this message because you are subscribed to
there, so :any-arb-keyword would work just as
well as :else. But by convention, Clojure programmers tend to use
:else.
--
Michael Wood
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegrou
;
> Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main]
> java.lang.ClassCastException: Cannot cast
> com.jme3.input.controls.KeyTrigger to
> [Lcom.jme3.input.controls.Trigger;
"[L..." is an array of ..., so it looks like you need to create a Java
array to give it
On 6 September 2010 23:22, Cameron Pulsford wrote:
[...]
> Changing my declares to defs did the trick did though and learning
Does this break it again?
(do (def *macros*))
Because that's all that declare does:
user=> (macroexpand-1 '(declare *macros*))
(do (def *macros*))
sion has been had before with similar conclusion.
--
Michael Wood
--
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 w
1 - 100 of 416 matches
Mail list logo