Have you tried class unloading options of JVM?
CMSClassUnloadingEnabled and TraceClassUnloading
HTH,
Hubert.
On Sat, Sep 11, 2010 at 9:19 PM, Rayne wrote:
> 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
Woops, i left out a 0 on the version number, so i did ".1" instead of
"0.1"! Now it works!
Also, is there any way to use a library from the local maven
repository in a fresh clojure repl. By fresh, i mean i have set up
emacs to run a new clojure repl not related to previous projects. Is
there any
Hi,
The following function has been a real _lifesaver_ lately in debugging
symbol collisions in (ns) directives when developing with SLIME in a
long-running VM:
(defn ns-unmap-all
"Unmap all the symbols (except 'ns' and 'in-ns')."
([] (ns-unmap-all *ns*))
([ns] (map #(ns-unmap ns %) (keys (n
Hey!
I am trying to set up clojure for emacs. I use ubuntu and gnu emacs
23. I followed this guide
http://riddell.us/ClojureWithEmacsSlimeSwankOnUbuntu.html
In particular, I did:
~$ cd opt
~/opt$ git clone git://github.com/jochu/clojure-mode.git
~/opt$ git clone git://git.boinkor.net/slime.git
~
Dear all,
I cannot manage to make ClojureScript work from clojure 1.2.0.
It seems that *compiler-analyse-only* used to exist but do not exist anymore.
Does someone know what it was and what replaced it?
Best regards,
Nicolas.
--
You received this message because you are subscribed to the Goo
Oooops.
Ansered my question.
Haven't seen the patch in the git repository.
Will try to apply it to clojure 1.2.
On Sun, Sep 12, 2010 at 1:52 PM, Nicolas Oury wrote:
> Dear all,
>
> I cannot manage to make ClojureScript work from clojure 1.2.0.
>
> It seems that *compiler-analyse-only* used to
HI Clojurians -
I found a reference to this interesting paper on macros on Lamda the
Ultimate. An interesting read by the our old friend Matthias
Felleisen who helped many of us learn Lisp.
http://www.ccs.neu.edu/scheme/pubs/icfp10-cf.pdf
--
You received this message because you are subscr
Here's the teaser, er, I mean abstract:
"Existing macro systems force programmers to make a choice between
clarity of specification and robustness. If they choose clarity, they
must forgo validating significant parts of the specification and thus
produce low-quality language extensions. If they ch
On Sat, Sep 11, 2010 at 4:45 PM, Seth wrote:
> Woops, i left out a 0 on the version number, so i did ".1" instead of
> "0.1"! Now it works!
>
> Also, is there any way to use a library from the local maven
> repository in a fresh clojure repl. By fresh, i mean i have set up
> emacs to run a new cl
On Sat, Sep 11, 2010 at 7:55 PM, Oskar wrote:
> I am trying to set up clojure for emacs. I use ubuntu and gnu emacs
> 23. I followed this guide
> http://riddell.us/ClojureWithEmacsSlimeSwankOnUbuntu.html
Those instructions are a lot more complicated since they have you
install everything by hand
This will help with collisions, but note that other namespaces may
still hold references to the values of the un-mapped Vars.
-S
On Sep 11, 9:48 pm, blais wrote:
> Hi,
> The following function has been a real _lifesaver_ lately in debugging
> symbol collisions in (ns) directives when developing
There's also "remove-ns" in core, which, when followed by "ns", will
have the same effect.
-S
On Sep 11, 9:48 pm, blais wrote:
> Hi,
> The following function has been a real _lifesaver_ lately in debugging
> symbol collisions in (ns) directives when developing with SLIME in a
> long-running VM:
>
On Sat, Sep 11, 2010 at 6:48 PM, blais wrote:
> The following function has been a real _lifesaver_ lately in debugging
> symbol collisions in (ns) directives when developing with SLIME in a
> long-running VM:
>
> (defn ns-unmap-all
> "Unmap all the symbols (except 'ns' and 'in-ns')."
> ([] (ns-u
In my test framework, Midje, http://github.com/marick/Midje, a test written in
the most heavily syntactically-sugared form might look like this:
(facts
(complicated-function ...some-integer...) => 5
(provided
(simple-function ...some-integer...) => 2
(other-function ...
Oskar:
I once did installations like this of SLIME for interaction with SBCL
on my computers, and I did it once for Clojure about a year ago, but
when I tried to upgrade that SLIME/Clojure interaction software
recently, I had trouble trying to do so in a similar way that I had
done it in
tried it out, looks good! except i accidently broke it by doing
cljr install /home/seth/.m2/helloworld 0.1, from then on it didn't
work so i had to reinstall it :(
(i though i could directly give address to repository)
--
You received this message because you are subscribed to the Google
Groups
take that back, all i had to do was go to project.clj and remove the
offending entry!
--
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
shouldn't we rename remove-ns to ns-remove to keep it in line with the
other ns functions?
--Robert McIntyre
On Sun, Sep 12, 2010 at 4:18 PM, Phil Hagelberg wrote:
> On Sat, Sep 11, 2010 at 6:48 PM, blais wrote:
>> The following function has been a real _lifesaver_ lately in debugging
>> symbol
I have no idea how many of you both care at all about JavaFX and are
planning to go to the JavaOne conference tomorrow Monday in San
Francisco, but there's apparently going to be a talk about using the
JavaFX platform from alternative languages, particularly Clojure, at 4
PM. I myself can't go, but
I wrote a test case:
(use 'clojure.contrib.macro-utils)
(defn bug? []
(with-symbol-macros
(case 0
0 1)))
The REPL prints:
java.lang.ClassCastException: clojure.lang.PersistentVector cannot be
cast to clojure.lang.MapEntry (NO_SOURCE_FILE:4)
Can anyone confirm this, please?
--
You
Hey all,
I'm just starting out with Clojure and was wondering about making some
edits to the Clojure wiki on assembla.
I was going to note that it seems you have to uninstall clojure-mode
from elpa in order to install swank-clojure. This requires pressing
"d" on clojure-mode in elpa to uninstall
Hello,
I am relatively new to clojure and lispy languages in general. I
wrote a small program that manipulated thread vars using the binding
macro and I am seeing what seems to be strange behavior.
To illustrate, here is another small program that reproduces what I am
seeing (without all the dis
I found a workaround:
(use 'clojure.contrib.macro-utils)
(defsymbolmacro one 1)
(defn bug1 []
(with-symbol-macros
(bug2)))
(defn bug2
(case 0
0 one)))
The "one" symbol macro is there just to show that everything works as
expected.
--
You received this message because you are sub
I just noticed this unexpected result for Map destructuring with an
:or directive:
user=> (def guys-name-map {:f-name "Guy" :l-name
"Steele"})
#'user/guys-name-map
user=> (let [{:keys [f-name m-name l-name] :or {:m-name "CL"}} guys-
name-map] (str l-name ", " f-name "+" m-name))
"Steele, Guy+"
On Sun, Sep 12, 2010 at 4:22 PM, Brian Marick wrote:
> In my test framework, Midje, http://github.com/marick/Midje, a test written
> in the most heavily syntactically-sugared form might look like this:
>
> (facts
> (complicated-function ...some-integer...) => 5
> (provided
> (simple-fu
I've been bitten by this before.
Unless there's a good reason for :or to work the way it does I think
that would be a good idea,
since then you can define "default" maps somewhere else and use those
both with the :or keyword or when
calling the function itself.
Maybe the :or map can just be under
On Sun, Sep 12, 2010 at 3:04 PM, ephcon wrote:
> I'm just starting out with Clojure and was wondering about making some
> edits to the Clojure wiki on assembla.
>
> I was going to note that it seems you have to uninstall clojure-mode
> from elpa in order to install swank-clojure. This requires pre
On Sun, Sep 12, 2010 at 9:04 AM, Nicolas Oury wrote:
> Oooops.
>
> Ansered my question.
>
> Haven't seen the patch in the git repository.
> Will try to apply it to clojure 1.2.
I imagine you'll have some difficulty with that.
ClojureScript was last updated to work with Clojure 1.0 (with the
patc
Hi,
On 13 Sep., 04:30, Robert McIntyre wrote:
> Unless there's a good reason for :or to work the way it does I think
> that would be a good idea, since then you can define "default" maps
> somewhere else and use those both with the :or keyword or when
> calling the function itself.
The default
By the way, I cloned the Clojure repo and have adjusted the docs for
this function, but I can't figure out how to get Github to submit it
for approval, or for a pull request or whatever it is. If someone
wants to take this patch and check it in for me, that would be fine
too.
diff --git a/src/clj/
Hi,
On 13 Sep., 08:22, Alan wrote:
> By the way, I cloned the Clojure repo and have adjusted the docs for
> this function, but I can't figure out how to get Github to submit it
> for approval, or for a pull request or whatever it is. If someone
> wants to take this patch and check it in for me,
31 matches
Mail list logo