Project/repo name change (Re: [ANN] Openar, a Clojure environment)

2011-02-27 Thread Kei Suzuki
ac. Please report the issue to the GitHub issue tracker or the new mailing list, http://groups.google.com/group/sevenri. I really appreciate your help. Thanks a lot in advance! Sincerely, Kei Suzuki -- You received this message because you are subscribed to the Google Groups "Clojure&quo

[ANN] Openar, a Clojure environment

2011-02-18 Thread Kei Suzuki
o the repo: https://github.com/ksuzuki/Openar/ Your questions and suggestions are welcome. Please post them to the Openar Google Group (http://groups.google.com/group/openar). Sincerely, Kei Suzuki -- You received this message because you are subscribed to the Google Groups "Clojure&quo

Quines

2010-03-17 Thread Kei Suzuki
((fn[](let[s "](print\"((fn[](let[s\"(pr-str s)s" ](print"((fn[] (let[s"(pr-str s)s (let[s "](print\"(let[s\"(pr-str s)s))" ](print"(let[s"(pr-str s)s)) (def s"(def s%s)(printf s(pr-str s))")(printf s(pr-str s)) Any others? -- You received this message because you are subscribed to the

Re: SLIME REPL broken

2009-11-18 Thread Kei Suzuki
You can still use slime-fancy and the arglist display feature by just disabling autodoc mode like this: (setq slime-use-autodoc-mode nil) (slime-setup '(slime-fancy)) On Nov 18, 11:26 am, Constantine Vetoshev wrote: > On Nov 17, 2:52 pm, David Nolen wrote: > > > Thanks for pursuing this so adam

Re: "If you wish to have a version for off-line use...

2009-09-23 Thread Kei Suzuki
Long time ago I posted a message with a Clojure program that does what you are looking for. http://groups.google.com/group/clojure/browse_thread/thread/1e7b9c0a2d839bca/e1d6a0f1282c60d2?q=saving+the+Clojure+webiste The program, however, is terribly slow and inefficient. I've been working on impr

Re: Saving the Clojure.org webiste

2009-05-20 Thread Kei Suzuki
I should have uploaded the file in the .zip format for ease of extraction. Since I don't know how to replace it with a .zip version and I don't want to clutter the file area, I don't upload the zip version. Mac and Linux users should have no problem of extracting the files, and there should be bun

Saving the Clojure.org webiste

2009-05-19 Thread Kei Suzuki
I wanted to save the Clojure.org website so that I can read it when I'm off-line. The problem is that none of the website downloader tools I found is satisfactory; the pages don't look right and links are broken (I think I know now why they don't work by looking into the html and css files of the

The :file metadata key value

2009-04-14 Thread Kei Suzuki
In the recent releases it looks the value of the :file metadata key for the core functions changed from "core.clj" to "clojure/core.clj". Because of the change the get-source function of the clojure.contrib.repl-utils library, for example, now fails to get the source code of the core functions (I

Re: A case when do suppresses exception?

2009-01-24 Thread Kei Suzuki
because that's the   > last value in the "do" and the repl prints :ok. > > A Google search for: > >         clojure lazy > > will bring up more references. > > --Steve > > On Jan 25, 2009, at 1:05 AM, Kei Suzuki wrote: > > > > > Form3 makes

A case when do suppresses exception?

2009-01-24 Thread Kei Suzuki
Form3 makes me puzzled. Form1 and Form2 throw exception as expected. Why doesn't Form3? Form1: (do ((fn [] (throw (Exception. "oops" :ok) Form2: (do ((fn [] (map #(when % (throw (Exception. "oops"))) [true] Form3: (do ((fn [] (map #(when % (throw (Exception. "oops"))) [true]))) :ok) Than

Re: Seq forms with preceding #^metadata lose the metadata

2008-12-02 Thread Kei Suzuki
Hi Meikel, Rich, Thank you for your clarification. Now I understand the difference between #^ and with-meta and I can see #^metadata on a seq form is intact at compile time (and it can be passed down to runtime) so that now I know I was wrong to say like the topic. Thanks again. -- Kei --~--~-

Seq forms with preceding #^metadata lose the metadata

2008-12-02 Thread Kei Suzuki
Hi, Whenever a seq form is preceded by #^metadata, the metadata is ignored or only {:line n} is associated with. For example, these return the metadata as expected: (meta (with-meta '(1) {:v 1})) (meta (with-meta (quote (1)) {:v 1})) (meta (with-meta (list 1) {:v 1})) (meta (with-meta (vector 1

Re: Exception on the formatted print method calls

2008-11-28 Thread Kei Suzuki
On Nov 28, 1:05 am, "Michael Wood" <[EMAIL PROTECTED]> wrote: > On Fri, Nov 28, 2008 at 2:59 AM, Kei Suzuki <[EMAIL PROTECTED]> wrote: > > > On Nov 27, 11:21 am, Chouser <[EMAIL PROTECTED]> wrote: > [...] > >> All those methods take Java var

Re: Exception on the formatted print method calls

2008-11-27 Thread Kei Suzuki
On Nov 27, 12:07 pm, "Michael Wood" <[EMAIL PROTECTED]> wrote: > On Thu, Nov 27, 2008 at 9:21 PM, Chouser <[EMAIL PROTECTED]> wrote: > > > On Thu, Nov 27, 2008 at 2:12 PM, Kei Suzuki <[EMAIL PROTECTED]> wrote: > > >&g

Re: Exception on the formatted print method calls

2008-11-27 Thread Kei Suzuki
On Nov 27, 11:21 am, Chouser <[EMAIL PROTECTED]> wrote: > On Thu, Nov 27, 2008 at 2:12 PM, Kei Suzuki <[EMAIL PROTECTED]> wrote: > > > Any formatted print method calls like below throw > > java.lang.ClassCastException at clojure.lang.Compiler.eval. > > > (.

Exception on the formatted print method calls

2008-11-27 Thread Kei Suzuki
Any formatted print method calls like below throw java.lang.ClassCastException at clojure.lang.Compiler.eval. (.printf System/out "%d" 1) (. System/out (printf "%d" 1)) (.format System/err java.util.Locale/US "%s" "error") (. System/out format nil "%s" "hello, world!\n") Am I missing something?