In the clojure getting started guide, it says that if user.clj is
found on the classpath, then that file will be evaluated and the repl
will start with any modifications made from that file.
My directory structure looks like this
/src/user.clj
/src/rlm/quick.clj
/lib/*all-my-jars*
I have a funct
This is cool. I wonder we should have a central index of Clojure
libraries something like this: http://java-source.net/
Regards,
Shantanu
On Sep 10, 2:14 pm, Hubert Iwaniuk wrote:
> I'm happy to announce release of http.async.client v0.2.0 an Asynchronous
> HTTP Client for Clojure.
>
> This is
One question - how is the (auto)doc generated?
Regards,
Shantanu
On Sep 10, 2:14 pm, Hubert Iwaniuk wrote:
> I'm happy to announce release of http.async.client v0.2.0 an Asynchronous
> HTTP Client for Clojure.
>
> This is wrapper/adapter on top
> ofhttp://github.com/AsyncHttpClient/async-http-
Hello Bruce,
would you please provide the versions of the files you are using.
I use clojure-mode 1.7.1 and clojure-test-mode 1.4 from technomancy,
but still get this error
java.lang.Exception: Unmatched delimiter: )
I'm completely at loss here. (Clojure 1.2, Maven - or Leiningen 1.3.1,
Win XP)
I'm sorry, but despite reading through the rest of the thread, it's
not clear to me why that is a problem.
icemaze, could you elaborate on what your use case is? I think with
all of our powers combined, we can come up with something that fits
your needs :)
On Sep 10, 7:24 pm, Robert McIntyre wr
There is such a list.
http://clojure.org/libraries
On the other hand, that list is both very long and not very complete.
I looked for some of the libraries I am interested in right now. Ring
and compojure are there, but not clout, sandbar, or carte.
You can find a more complete list here, bu
Hi Btsai, thank you for your offer for help.
As I said before I *could* use literals but it wouldn't be convenient.
I have a big structure which contains information about "types" (they
are types of domain-specific objects). I would like to extract the
"methods" I need from this structure and defi
> So the problem is solved for me, although I have to use eval. I'm not
> sure exactly how dirty this trick is and especially *why* it is
> considered a "smell". I read it on Paul Graham's "On Lisp" and he
> vehemently opposes its use but he doesn't explain why or where it is
> acceptable. Note tha
Don't know if this is the source of the problem, but your "use" syntax
is funky. You want:
(use '[clojure.java.javadoc :only (javadoc)])
-S
On Sep 11, 3:51 am, Robert McIntyre wrote:
> In the clojure getting started guide, it says that if user.clj is
> found on the classpath, then that f
The fact that you are trying to generate functions based on data that
is available at run time rather than at compile time is a signal that
you should probably be using functions rather than macros to do what
you want. Here is one way:
(defn make-fn [kwd]
(fn [n] (= n kwd)))
(defn intern-fn [k
Thanks Shantanu.
I think github is most popular among Clojure projects, so looking at
http://github.com/languages/Clojure might help, but there is no
structure like java-source.net.
Cheers,
Hubert
On Sat, Sep 11, 2010 at 9:58 AM, Shantanu Kumar
wrote:
> This is cool. I wonder we should have a
Hi Shantanu,
autodoc configuration is:
http://github.com/neotyk/http.async.client/blob/master/project.clj#L13
in :dev-dependencies there is [autodoc "0.7.1"]
to generate it: lein autodoc
For rest of project site I used org-mode and infojs.
Cheers,
Hubert.
On Sat, Sep 11, 2010 at 10:07 AM, Sha
Actually what you seem to be trying to do is create a new kind
of defn function which creates named functions as a side-effect.
This is similar to the common lisp defstruct function which
creates accessors. Define your own "defn" function, such as
"defthing" and let it do the side-effects for you
Dear all,
I am trying to use ClojureScrip for fun. (FOr the REPL now).
I can not find a translation to the javascript:
var image = new Image();
(def image (Image.)) or (def image (new Image)) does not work.
Any idea?
Best regards,
Nicolas.
--
You received this message because you are subsc
As it turns out, this wasn't a memory leak at all. I decided to see if
I could max sexpbot's memory out by reloading. I got it to rise around
20-30 megs and then it stabilized and eventually jumped down 10 megs
and didn't rise again (gave up 10 reloads later). I don't know how
this stuff works, but
Ah ok. I couldn't come up with anything, but I think Kent has a nice
eval-free (and macro-free) solution.
My thanks to you, and everyone who chimed in, for helping me better
understand the read-time/compile-time/run-time distinction.
On Sep 11, 8:29 am, icemaze wrote:
> Hi Btsai, thank you for
Im attempting a 'hello world' leiningen in which i install a simply
hello world library using lein install and then i create a new
project , hello2, which depends on that project. However, leiningen
does not seem to look in the local maven repository for the
dependencies so i get
1) helloworld:hel
The install task publishes to your local repo. Did you check
$HOME/.m2/repository to see if your helloworld library is there ?
You should find the jar and the pom.xml after running the install task.
Make sure the names are matching between your library POM and your
reference in your project.clj in
Im attempting a 'hello world' leiningen in which i install a simply
hello world library using lein install and then i create a new
project , hello2, which depends on that project. However, leiningen
does not seem to look in the local maven repository for the
dependencies so i get
1) helloworld:hel
Yes, Kent's solution is spot on! Thank you all for your insights, I
believe we have a winner.
--
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
Clojars would be a natural place for this kind of feature, but it is
woefully under-manned right now, especially considering how important it is.
If you're looking for a project to work on to help you learn Clojure I'd
recommend getting on the Clojars mailing list and seeing what you can do to
help
21 matches
Mail list logo