The Ubuntu package is emacs-22. Does emacs-23 fix the issue? Or does the
swank-clojure package need to be updated?
Paul
On Thu, Oct 2, 2008 at 7:17 PM, Hans Hübner <[EMAIL PROTECTED]> wrote:
>
> Hi Paul,
>
> Paul Stadig schrieb:
> > I have setup clojure-mode and swank-clojure with emacs on Ubunt
Here are direct links.
http://blip.tv/file/get/Richhickey-ClojureForLispProgrammersPart1997.mov
http://blip.tv/file/get/Richhickey-ClojureForLispProgrammersPart2299.mov
I have no idea how stable they are.
--~--~-~--~~~---~--~~
You received this message because yo
SWT has made huge strides in the past few releases in improving ease
of deployment. As of 3.4, all you need to do is include the swt.jar
file for your particular platform and you're all set. So long as it
is on your application's classpath, SWT will figure out the
appropriate steps to bring the
I didn't need to log in to download QuickTime versions of these. It
was really quite easy:
1. Go to the URL Rich gives in his message, e.g.,
http://clojure.blip.tv/file/1313398
2. Underneath the player is a drop-down titled, "Play episode as: "
with the dropdown first saying, "Select a format".
On Fri, Oct 3, 2008 at 4:00 AM, markm <[EMAIL PROTECTED]> wrote:
>
>
>
> On Oct 2, 11:47 am, Rich Hickey <[EMAIL PROTECTED]> wrote:
>> On Oct 2, 10:05 am, markm <[EMAIL PROTECTED]> wrote:
>>
>> > On Oct 2, 7:51 am, Rich Hickey <[EMAIL PROTECTED]> wrote:
>>
>> > > On Oct 2, 3:56 am, scottjad <[EMAI
Hi Paul,
Paul Stadig schrieb:
> I have setup clojure-mode and swank-clojure with emacs on Ubuntu. Everything
> has been working great so for, but I ran into a bug today. I am up-to-date
> with the latest git commits as of this moment. When I enter "\227" into the
> REPL I get a nasty debug messag
Hi,
> (condition-case error (slime-net-read) (error (debug) (slime-net-
> close process t) (error "net-read error: %S" error)))
> slime-net-read-or-lose(#)
Ah, I hit this same problem before. It's a problem with the charset
encoding and I must've accidentally removed the fix when I was
clean
On Oct 2, 2008, at 4:36 PM, Stuart Halloway wrote:
> True, but what I am concerned about is cognitive load in understanding
> the language. Right now, there is some set of functions that work on
> seq-able things, and another set of functions that work only on actual
> seqs. Is there a reason tha
On Thu, Oct 2, 2008 at 4:16 AM, Hans Hübner <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am using Clojure from SVN with Slime from CVS. Things work in
> general, but Slime repeatably crashes when I try to display some data
> that I have read using the XML parser:
>
> user=> (clojure.contrib.zip-filte
True, but what I am concerned about is cognitive load in understanding
the language. Right now, there is some set of functions that work on
seq-able things, and another set of functions that work only on actual
seqs. Is there a reason that sort belongs in the latter camp?
Stuart
>
> You co
You could sort this way:
user> (apply str (sort (seq "bac")))
"abc"
On Oct 2, 11:58 am, Stuart Halloway <[EMAIL PROTECTED]> wrote:
> Right. So, should sort work?
>
> user=> (sort "bca")
> java.lang.IncompatibleClassChangeError: Class java.lang.String does
> not implement the requested interface
> Hope that helps,
It does. My assumption was that (seq?) meant Seq-able.
Thanks
-m
--~--~-~--~~~---~--~~
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
To
(seq? ...) tests for whether or not the argument is a sequence, i.e. an
instance of ISeq.
(seq ...) works on things that are "seq-able", basically any kind of
collection (instances of IPersistantCollection, instances of
java.util.Collection, Strings, Arrays, etc.), not solely instances of ISeq.
If
On Oct 2, 2:46 pm, Fogus <[EMAIL PROTECTED]> wrote:
> OK. So we can do:
> (map (fn [x] x) "abc")
> (first "abc")
> (rest "abc")
> (filter (fn [x] (if (= x \b) false true)) "abc")
> (seq "abc")
> etc...
>
> So why is (seq? "abc") false?
>
Because a string is not a seq. first/rest/map/filter etc
Right. So, should sort work?
user=> (sort "bca")
java.lang.IncompatibleClassChangeError: Class java.lang.String does
not implement the requested interface java.util.Collection
Stuart
> (seq? ...) tests for whether or not the argument is a sequence, i.e.
> an instance of ISeq.
>
> (seq ...)
OK. So we can do:
(map (fn [x] x) "abc")
(first "abc")
(rest "abc")
(filter (fn [x] (if (= x \b) false true)) "abc")
(seq "abc")
etc...
So why is (seq? "abc") false?
-m
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Grou
On Oct 2, 11:47 am, Rich Hickey <[EMAIL PROTECTED]> wrote:
> On Oct 2, 10:05 am, markm <[EMAIL PROTECTED]> wrote:
>
> > On Oct 2, 7:51 am, Rich Hickey <[EMAIL PROTECTED]> wrote:
>
> > > On Oct 2, 3:56 am, scottjad <[EMAIL PROTECTED]> wrote:
>
> > > > Part 1 is stopping after about a minute of pl
On Oct 2, 2008, at 1:05 PM, Shawn Hoover wrote:
> I'm having trouble getting clojure.contrib.zip-filter loaded into my
> REPL, but I can get the inner part to work with no error:
> (clojure.zip/xml-zip (clojure.xml/parse "http://planet.lisp.org/rss20.xml
> "))
As a point of reference, this
On Oct 2, 10:05 am, markm <[EMAIL PROTECTED]> wrote:
> On Oct 2, 7:51 am, Rich Hickey <[EMAIL PROTECTED]> wrote:
>
> > On Oct 2, 3:56 am, scottjad <[EMAIL PROTECTED]> wrote:
>
> > > Part 1 is stopping after about a minute of playback. I'm not sure if
> > > it's just my computer.
>
> > Given that
Another suggestion for Mac users, install Miro, it's free, and it
automatically downloads new videos, makes it easy to watch them in
fullscreen:
http://subscribe.getmiro.com/?url1=http://clojure.blip.tv/rss
On Oct 2, 7:51 am, Rich Hickey <[EMAIL PROTECTED]> wrote:
> On Oct 2, 3:56 am, scottjad <
Hi all,
for Michael Beauregard,
> Is there a reason why setting the "Main-Class" field in the jar's manifest
> doesn't work.
It work, and since the manifest had to be edited to set the Class-Path
why not set correctly the Main-Class ? maybe if my main class would
be called "Main" instead of "Lau
On Oct 2, 7:51 am, Rich Hickey <[EMAIL PROTECTED]> wrote:
> On Oct 2, 3:56 am, scottjad <[EMAIL PROTECTED]> wrote:
>
> > Part 1 is stopping after about a minute of playback. I'm not sure if
> > it's just my computer.
>
> Given that they are very long, it's often best to download the
> screencast
Somehow, the mail I sent yesterday never made it to the list, so here
it is again posted with Google Groups instead:
Hi,
I have now used the Stylish Firefox Add-On
(https://addons.mozilla.org/de/firefox/addon/2108) and a custom style
sheet (below) to display the documentation in a printer friend
Cool, this will come in handy.
Thanks Chouser,
-S
On Oct 2, 3:02 am, Chouser <[EMAIL PROTECTED]> wrote:
> I made one of these before, but here's an updated version:
>
> http://clojure.googlegroups.com/web/chart.png
>
> The code that generated it is attached.
>
> --Chouser
>
> java2dot.clj
> 3KVi
Thanks for the pointers Alexander. I decided to take to heart the
criticisms and rewrite a few of the functions from chapter 2;
hopefully they are more Clojure-esque. :)
http://www.earthvssoup.com/2008/10/02/on-lisp-clojure-chapter-2-redux/
-m
--~--~-~--~~~---~--~--
On Oct 2, 3:56 am, scottjad <[EMAIL PROTECTED]> wrote:
> Part 1 is stopping after about a minute of playback. I'm not sure if
> it's just my computer.
>
Given that they are very long, it's often best to download the
screencasts first. Just select the .MOV format from the "Play episode
as" dropd
Part 1 is stopping after about a minute of playback. I'm not sure if
it's just my computer.
On Oct 1, 7:32 pm, Rich Hickey <[EMAIL PROTECTED]> wrote:
> Clojure at Boston Lisp Meeting videos are now up:
>
> Part 1:
>
> http://clojure.blip.tv/file/1313398
>
> Part 2:
>
> http://clojure.blip.tv/file
Hi,
I am using Clojure from SVN with Slime from CVS. Things work in
general, but Slime repeatably crashes when I try to display some data
that I have read using the XML parser:
user=> (clojure.contrib.zip-filter.xml/xml-> (clojure.zip/xml-zip
(clojure.xml/parse "http://planet.lisp.org/rss20.xml
I made one of these before, but here's an updated version:
http://clojure.googlegroups.com/web/chart.png
The code that generated it is attached.
--Chouser
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Clojure" g
29 matches
Mail list logo