Re: assert raises

2008-09-25 Thread Allen Rohner
On Sep 25, 8:33 pm, Stuart Sierra <[EMAIL PROTECTED]> wrote: > Hi Allen, > Here's the result, which I just committed: Cool, thanks. Allen --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to

Re: assert raises

2008-09-25 Thread Stuart Sierra
Hi Allen, Looks pretty good to me. I changed the name to "throws", which is short, at least. The (is :a :a) can be replaced by (count-assertion), which is public, even though the counter itself is private. I also added an extra (catch...) clause so that there's a failure if the form throws an e

lazy apply and multimethods

2008-09-25 Thread Chouser
Regular functions have this clever ability to have their variadic arguments applied lazily: user=> (defn z [a & r] "zero") #'user/z user=> (apply z (iterate inc 0)) "zero" Since the z function ignored the r sequence, apply didn't bother walking down the infinite sequence at all. Multimethods do

Re: Clojure: self hosting and .Net port?

2008-09-25 Thread Stuart Sierra
On Sep 24, 9:37 am, soyrochus <[EMAIL PROTECTED]> wrote: > First, is there any intention to make Clojure self hosting? No > technical barriers here, I guess, but priorities and intention count > all the more so. I can't speak for Rich Hickey's intentions, here, but I doubt it. Most of the core la

Re: Clojure: self hosting and .Net port?

2008-09-25 Thread Mark H.
On Sep 24, 6:37 am, soyrochus <[EMAIL PROTECTED]> wrote: > First, is there any intention to make Clojure self hosting? No > technical barriers here, I guess, but priorities and intention count > all the more so. Just as a third-party person who is interested in Clojure, could you tell me what the

Re: Clojure: self hosting and .Net port?

2008-09-25 Thread Aaron Brooks
On Sep 24, 9:37 am, soyrochus <[EMAIL PROTECTED]> wrote: > Hi all, > > I have been playing with Clojure. Impressive indeed. I´ve got two > questions. Please consider these to be idle speculation (and as such > worthy of your attention) and no "feature requests". > > First, is there any intention t