On Thu, 31 Dec 2009 13:01:35 -0800 (PST)
nathaniel wrote:
> BTW, does anyone know what kind of GC algorithms (reference counting
> or thread- based or what) are used by other Lisps?
Reference-counting GC's in most LISPs are pretty much a thing of the
past. Between needing to do cycle detection a
Hello Bill
.Bill Smith at "Thu, 31 Dec 2009 09:20:16 -0800 (PST)" wrote:
.S> I tried out your example with a couple of files and it appeared to
.S> work. Is it supposed to fail, or is this an example of what you had
.S> to do to work around the problem you mentioned?
Yes, this is working var
Indeed -- that works nicely. I tried going back to a completely non-ELPA-ized
setup, but it was too painful; the trick was installing technomancy's github
repo of slime *in addition* to the ELPA packages, which all depend on each
other.
-Steve
On 31 Dec 2009, at 16:44, william douglas wrote:
Something else to look at might be the Apache Jackrabbit project at
http://jackrabbit.apache.org/.
I've been looking at tools along these lines as well, and recently
looked at Redis for the same reasons. Right now, though, I'm focusing
my attention on Jackrabbit which is an implementation of the
Yes. I think it is of much interest. What if I stored a shared data
structure in redis (only because its the fastest), using your memoize
variant, and process (maybe even updated it) it in parallel from
different Clojure nodes. Some kind of primitive map/reduce mechanism I
think.
On Dec 31, 12:29
I've been looking over our use of contrib in our large-ish project
at work. About 90% of the invocations of contrib functions are
I/O-related. I wonder if it would be a good idea to include a clojure.io
namespace in Clojure itself. I've mentioned the idea a few times on IRC,
and people seemed to b
Hi,
do you use a rather recent checkout of SLIME? If so, you may want to
read the thread
http://groups.google.com/group/clojure/browse_frm/thread/3e5f416e3f2a1884/337057edae5dcdc3
Can't say whether that's related to your problem, though.
Cheers,
Stefan
--
You received this message because yo
Rob Wolfe writes:
> I did it like this (I assume that clojure-mode.el has been installed):
Thanks, Rob. I followed your instructions after not being able to get
Clojure to cooperate with my normal Swank/SLIME installation, and it
works, but only to a point: The SLIME REPL buffer (invoked via the
I'm trying to think of scenarios where circular references would be a
problem in Clojure. When does memory actually have to be allocated?
Inside a let block, most often. When lexically scoped variables are
passed to a function, their reference count increases as they are
bound to its parameters,
Thanks for the quick response to everyone.
I downloaded slime-fuzzy.el from here:
http://elder-gods.org/~larry/repos/slime-tracker/contrib/slime-fuzzy.el
, put it into ~/.emacs.d/misc and then added this to my ~/.emacs:
(setq load-path (cons "~/.emacs.d/misc" load-path))
(eval
Stefan Tilkov writes:
> Two quick Emacs/Clojure questions I can't seem to find the answer to:
>
> - In his screencasts, Sean Devlin moves the mouse over an item in his
> REPL history and it becomes highlighted (and he can paste it to the
> current prompt with one click)
> - Also in his screencast
On Dec 30, 10:40 am, Robert Campbell wrote:
> I think anything which lowers the impedance mismatch between Clojure
> data structures and a persistent store is worth investigating. I'd
> love to find an ACID, transactional store which accepts native
> structures.
Have you looked at Cupboard (http:
I tried out your example with a couple of files and it appeared to
work. Is it supposed to fail, or is this an example of what you had
to do to work around the problem you mentioned?
It's certainly ok for a function to return different data types. I
guess the simplest example of that would be th
> Well, it clearly works for Lau, but then he says in one of the screencasts
> that he's using an old version of Slime; if you install technomancy's slime
> package from > ELPA, I believe you don't get all the slime extensions, which
> would easily explain why the fuzzy completion doesn't work.
Is this available via a Maven repo yet and, if so, what version of
clojure-contrib is compatible (and stable?).
Can't want to check out some of the new features!
On Thu, Dec 31, 2009 at 7:24 AM, Seth wrote:
> Congratulations to all involved! I've been using 1.1 via the master
> branch for a whil
On Dec 31, 2009, at 4:39 PM, Sean Devlin wrote:
> Stefan,
> I run OSX, so I use command-click to bring the item to my REPL. I
> imagine a right click would do the job in other platforms.
>
Thanks Sean, but I am on OS X too – the line simply doesn't get highlighted, so
I assumed there must be s
Stefan,
I run OSX, so I use command-click to bring the item to my REPL. I
imagine a right click would do the job in other platforms.
Sean
On Dec 31, 6:15 am, Stefan Tilkov wrote:
> Two quick Emacs/Clojure questions I can't seem to find the answer to:
>
> - In his screencasts, Sean Devlin moves
Congratulations to all involved! I've been using 1.1 via the master
branch for a while and had no problems.
--
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
On 31 dec, 13:07, Baishampayan Ghose wrote:
>
> This one is called fuzzy-completion, which for some unknown reasons
> doesn't work with SLIME + Clojure.
>
> It used to work perfectly with Common Lisp. I would appreciate a
> solution to this too.
Works for me, but you must have slime-fuzzy or slim
Clojure 1.1 is now out:
http://clojure.googlecode.com/files/clojure-1.1.0.zip
It contains several new features and many bug fixes and small
enhancements. Many people contributed ideas, patches, docs, testing,
feedback etc to this release - it truly was a community effort.
http://www.assembla.com
Well, it clearly works for Lau, but then he says in one of the screencasts that
he's using an old version of Slime; if you install technomancy's slime package
from ELPA, I believe you don't get all the slime extensions, which would easily
explain why the fuzzy completion doesn't work. I'm using
Not sure if it's any help, but here's a variant of memoize I wrote, which
stores arbitrary readable/printable objects to redis:
http://gist.github.com/266689
(If there's any interest, I'll wrap it up in a github project and push it to
clojars.)
Redis isn't a hierarchical store, so its array/se
Hello
I'm sorry, i tried to prepare shorter example, and mixed loops & recurs.
Full example is attached. This is code, that implements something like
'strings' command on Unixes, but for UTF-8 encoding
The problem is, that i need to return from function 'read-utf-char', either
String, either Int
Nikolay Petrov at "Wed, 30 Dec 2009 18:13:13 +" wrote:
NP> Is process char returns char or String?
I want to return either String, either Integer, depending on condition...
--
With best wishes, Alex Ott, MBA
http://alexott.blogspot.com/http://xtalk.msk.su/~ott/
http://alexott-ru.
> - Also in his screencasts, Lau Jensen types something like g-i-v,
> then hits some key combination and gets an expansion like
> get-integer-value
This one is called fuzzy-completion, which for some unknown reasons
doesn't work with SLIME + Clojure.
It used to work perfectly with Common Lisp. I
I probably should have mentioned that I have Emacs/SLIME/Clojure working
together nicely already, it's particularly these features that are missing.
Stefan
On Dec 31, 2009, at 12:15 PM, Stefan Tilkov wrote:
> Two quick Emacs/Clojure questions I can't seem to find the answer to:
>
> - In his sc
Two quick Emacs/Clojure questions I can't seem to find the answer to:
- In his screencasts, Sean Devlin moves the mouse over an item in his REPL
history and it becomes highlighted (and he can paste it to the current prompt
with one click)
- Also in his screencasts, Lau Jensen types something lik
I had exactly the same problem. It would be nice if we could add
directories/jars to the classpath somehow. I noticed the repl task
does this, but it's hacked into the lein script, which is a shame.
A script plug-in would also require the adaptation of the classpath,
so you could branch leiningen
I normally bind the clojure-maven-plugin to the compile phase, so "mvn
compile" does both a java and clojure compile. However, unlike the
scala or groovy 'star compilers' its not one process/parse, the java
compiler runs first, then the clojure.
--
Pull me down under...
On Thu, Dec 31, 2009 at
29 matches
Mail list logo