The Getting Started page hasn't been updated in a while; I've just
added some material (particularly about Clojurescript and additional
libraries like Seesaw and core.logic). Any suggestions?
http://dev.clojure.org/display/doc/Getting+Started
In particular, does anyone know of good tutorials
I have installed Leiningen not so much to manage projects but to enable
use of /clojure-jack-in/ as a means of getting Swank and Slime to work.
And they do work for me. But now I have a question that I can't find an
answer for in any Leiningen documentation I know about. I have a
largish,
Hi Clojurans,
For those interested, I finally got my second scientific paper using the
Clojure language published (the first came out in 2010). The nice thing is
that plos comp biol requested if I could also publish the source code,
which I did, and is listed as supplemental materials
That's awesome! Congratulations and thank you!
Regards,
BG
On Sat, Apr 28, 2012 at 1:49 PM, Boris V. Schmid boris.sch...@gmail.com wrote:
Hi Clojurans,
For those interested, I finally got my second scientific paper using the
Clojure language published (the first came out in 2010). The nice
On Sat, Apr 28, 2012 at 12:21 AM, Larry Travis tra...@cs.wisc.edu wrote:
I have installed Leiningen not so much to manage projects but to enable use
of clojure-jack-in as a means of getting Swank and Slime to work. And they
do work for me. But now I have a question that I can't find an answer
This seems to be a question on whether clojure supports java auto-boxing.
What java is doing here:
if (new Boolean(false)) {
// true
}
is calling .booleanValue on the Boolean object (as mentioned above).
And here:
int x = new Integer(6) + 4;
intValue is being called on the Integer object.
Yes, I've been considering this.
Unknown tags could return some kind of tagged object that has the tag in
its metadata. I don't know is what the interface to that object should be.
-S
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this
Hi,
I am running into error when using macros with deftype. For example,
when I use the macro `foo` it works fine:
(defmacro foo
[a]
(let [b (keyword a)]
`(do ~b)))
(foo alex)
= :b
whereas, when I use the macro `bar`:
(defmacro bar
[a]
(let [b (keyword a)
f (fn [ args] b)]
Hi Shantanu,
I had to play with this because it seemed like for some reason you were
trying to call it on my name :)
So far one thing I've isolated is that if you cut out the function calls it
will compile the macro:
(defmacro bar
[a]
(let [b (keyword a)
f (fn [ args] b)]
I had to play with this because it seemed like for some reason you were
trying to call it on my name :)
I appreciate you chimed in, though the mention of your name was purely
coincidental. :)
So far one thing I've isolated is that if you cut out the function calls it
will compile the macro:
This macroexpansion looks fine to me... but still gives an error when you
try to call (bar alex).
(defmacro bar
[a]
(let [b (keyword a)
f-gensym (gensym f)]
`(let [~f-gensym (fn [ args#] ~b)]
(deftype ~a []
clojure.lang.ILookup
(valAt [this# k#] (~f-gensym
Seems like the expansion is trying to put the function's value in there,
and this has already been compiled. If the function' code is expanded
in-place it works.
user= (defmacro bar
[a]
(let [b (keyword a)
f `(fn [ args#] ~b)]
`(deftype ~a []
clojure.lang.ILookup
This update should fix all reflection warnings.
Leiningen:
[com.mefesto/wabbitmq 0.2.1]
Github:
https://github.com/mefesto/wabbitmq
Thanks,
Allen
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to
David,
Yes. I've been looking at that today. Something is going on that is not so
straightforward, though - I think there might be a compiler issue (or else
I'm misunderstanding some aspect of the compiler).
For example, I'm getting the warning on compiler-generated vars. e.g:
WARNING: Use of
Which version of ClojurScript? Have you tried building against master?
David
On Sat, Apr 28, 2012 at 1:19 PM, Luke VanderHart
luke.vanderh...@gmail.comwrote:
David,
Yes. I've been looking at that today. Something is going on that is not so
straightforward, though - I think there might be a
Fogus filed a bug about this a while back:
http://dev.clojure.org/jira/browse/CLJ-927
My suggestion is that an unknown tag should be read as a map with a couple of
well-defined keys (such as :unknown-literal and :value) so that the program has
a way to support data that it doesn't understand.
On Apr 28, 9:32 pm, Armando Blancas abm221...@gmail.com wrote:
Seems like the expansion is trying to put the function's value in there,
and this has already been compiled. If the function' code is expanded
in-place it works.
True. Thanks for confirming this.
Shantanu
--
You received this
Yep, still happens against master.
Trying to reduce it to a simpler test case now (and also see if it still
happens when I take lein-cljsbuild out of the equation).
On Saturday, April 28, 2012 1:29:07 PM UTC-4, David Nolen wrote:
Which version of ClojurScript? Have you tried building against
It's definitely something about reify, though it seems hard for me to
reproduce in a single file w/ lein-cljsbuild.
David
On Sat, Apr 28, 2012 at 3:26 PM, Luke VanderHart
luke.vanderh...@gmail.comwrote:
Yep, still happens against master.
Trying to reduce it to a simpler test case now (and
Hi,
I was thinking how nice it would be if you could view the docs for a
given package at clojars.org — similar to how Perl 5's
http://search.cpan.org/ works.
So, I wrote a short little script to grab a project from github,
Autodoc it, copy some files around, and then generate a little index
github says 404 this is not the page you are looking for
Jim
Sent from my mobile...
John Gabriele jmg3...@gmail.com wrote:
Hi,
I was thinking how nice it would be if you could view the docs for a
given package at clojars.org — similar to how Perl 5's
http://search.cpan.org/ works.
Sean,
Your advice makes good sense, but I can't make it work. Per that advice,
I paste some of my function definitions into the core.clj file of the
project prjctOne and proceed thusly:
larrytravis$ lein install
Copying 1 file to /Users/larrytravis/prjctOne/lib
No namespaces to :aot compile
On Sat, Apr 28, 2012 at 2:41 PM, Larry Travis tra...@cs.wisc.edu wrote:
Created /Users/larrytravis/prjctOne/prjctOne-1.0.0-SNAPSHOT.jar
...
prjctOne. That is, what would correspond to the [utilities
0.0.1-SNAPSHOT] vector in your example?
Try [prjctOne 1.0.0-SNAPSHOT]
--
Sean A Corfield --
On Apr 28, 5:37 pm, Jim.foobar jimpil1...@gmail.com wrote:
github says 404 this is not the page you are looking for
Weird. I double-checked the link, and it works. Is it still 404'ing
for you?
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To
On 28/04/12 23:41, John Gabriele wrote:
On Apr 28, 5:37 pm, Jim.foobarjimpil1...@gmail.com wrote:
github says 404 this is not the page you are looking for
Weird. I double-checked the link, and it works. Is it still 404'ing
for you?
No its just fine from my desktop...for some reason
Sean:
Your suggestion doesn't work. The Slime REPL comes up fine when I use
the dependency vector you suggest (some of the vectors I have tried
prevent the Swank server from starting), but the REPL doesn't know
anything about the functions defined in prjctOne or about the name-space
in which
leiningen relies on maven dependency resolution...
the dependency entry is of the form
[groupId/artifactId version]
You have the groupId and the artifactId both set to prjctOne. You can tell
this from the path it's installed into your local repo. I believe this is
default behaviour if you
Hi,
Can somebody point me to an example that implements the IObj interface
on deftype without needing to pass in meta via constructor? defrecord
seems to be doing this by storing meta on the tag, but I don't
completely understand it yet.
Shantanu
--
You received this message because you are
Neale:
Indeed, that's exactly the dependency vector I needed. I'm impressed by
your expertise. Thanks very much to both you and Sean.
--Larry
On 4/28/12 7:01 PM, Neale Swinnerton wrote:
leiningen relies on maven dependency resolution...
the dependency entry is of the form
29 matches
Mail list logo