Using Java frameworks from Clojure

2008-10-05 Thread Hans Hübner

Hi,

for a project, I would like to use a Java framework that exposes a
very Javaesque API, with dozens of classes that need to be
instantiated or used and with several interfaces that one needs to
implement in order to be called back by the framework.  The interfaces
are particularily cumbersome, as most of them only specify one or two
methods.  Now, exposing the innard of this library to my application
is something I'd like to avoid, as the object oriented API does not
mix well with a purely functional development style.  On the borders
of my application, though, I will have to cope with the classes and
objects.

How do others approach this kind of problem?  Are you just ignoring
the functional vs. object oriented mismatch and access Java objects
from everywhere?  Do you use hand-written wrappers around the
libraries?  Tools?

In my case, most of the interfaces are trivially small (provide only
one or a few member functions to be called back by the framework).  A
macro wrapping up clojure/proxy a little nicer will do the job,
although I would still like to provide purely functional interfaces
and have the interface mechanics be hidden from the Clojure
application.  For the larger classes of the framework, it would be
useful to somewhat mechanically translate objects in hash tables, so
that getters can be conveniently called.

Certainly, I would like to spare myself having to type in the names of
dozens of accessor functions and corresponding hash table keys.  What
would be a good approach to automating this?  Use reflection on the
classes and generate the functional interface?  Would that be a
function called at the REPL that results in a file that is manually
edited, or would one do that at compile time and just generate a
richer and more complete interface?

Any thoughts on this would be greatly appreciated.

Thanks,
Hans
--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: Hex literals

2008-10-05 Thread Jim Menard

nimbus:/usr/local/src/Lisp/clojure> clojure
Clojure
user=> 0xff
java.lang.IllegalArgumentException: Invalid number: 0xff
java.lang.Exception: ReaderError:(2,1) Invalid number: 0xff
at clojure.lang.LispReader.read(LispReader.java:160)
at clojure.lang.Repl.main(Repl.java:68)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at jline.ConsoleRunner.main(ConsoleRunner.java:69)
Caused by: java.lang.IllegalArgumentException: Invalid number: 0xff
at clojure.lang.LispReader.readNumber(LispReader.java:198)
at clojure.lang.LispReader.read(LispReader.java:117)
... 6 more

I'm using OS X 10.5 (Leopard). I can't figure out how to determine the
version of Clojure I am using from the command line, but I believe I'm
using the latest version 20080916.

Jim

On Sun, Oct 5, 2008 at 6:50 PM, Vincent Foley <[EMAIL PROTECTED]> wrote:
>
> They seem to work fine with me:
>
> user=> 0xff
> 255
> user=> (+ 0xff 45)
> 300
>
>
> On Oct 5, 4:52 pm, "Jim Menard" <[EMAIL PROTECTED]> wrote:
>> In the section on literals athttp://clojure.org/reader, it says,
>> "Numbers - as per Java, plus ..."
>>
>> This implies to me that hex numbers like 0xff should be accepted by
>> the reader, but they are not. Is this a bug or a misunderstanding on
>> my part?
>>
>> Jim
>> --
>> Jim Menard, [EMAIL PROTECTED], [EMAIL PROTECTED]://www.io.com/~jimm/
> >
>



-- 
Jim Menard, [EMAIL PROTECTED], [EMAIL PROTECTED]
http://www.io.com/~jimm/

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: Erlang vs Clojure

2008-10-05 Thread Krzysztof Kliś

Hello Rich,
I know this is an old post, but did you consider using Terracotta
(http://www.terracotta.org/) for clustering Clojure? It might fit the
Clojure concurrency model much better than MPI, and you wouldn't have
to mix Java with Erlang (or any other external technologies). You can
already cluster other JVM based programming languages like JRuby
(http://jonasboner.com/2007/02/05/clustering-jruby-with-open-
terracotta/) or Scala (http://jonasboner.com/2008/01/25/clustering-
scala-actors-with-terracotta/).
Cheers,
Chris

> Even with actors, Clojure will not yet have a distributed concurrency
> story, but I am considering just adopting Erlang's wholesale, using
> Jinterface for Clojure<->Clojure or even Clojure<->Erlang distributed
> processes. Maybe that will look like Termite when it is done. Stay
> tuned.
>
> Rich

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: Hex literals

2008-10-05 Thread Tom Emerson

FWIW,

The-Scrapyard (0)% java -cp clojure.jar clojure.lang.Repl
Clojure
user=> 0xff
255
user=> (+ 0xff 45)
300
user=> ^D
The-Scrapyard (0)% java -version
java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-241)
Java HotSpot(TM) Client VM (build 1.5.0_13-121, mixed mode, sharing)

This on a TiBook, Mac OS X 10.4.11 with Clojure 20080916 and svn 1051.

-tree


On Sun, Oct 5, 2008 at 8:04 PM, Jim Menard <[EMAIL PROTECTED]> wrote:
>
> nimbus:/usr/local/src/Lisp/clojure> clojure
> Clojure
> user=> 0xff
> java.lang.IllegalArgumentException: Invalid number: 0xff
> java.lang.Exception: ReaderError:(2,1) Invalid number: 0xff
>at clojure.lang.LispReader.read(LispReader.java:160)
>at clojure.lang.Repl.main(Repl.java:68)
>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>at java.lang.reflect.Method.invoke(Method.java:585)
>at jline.ConsoleRunner.main(ConsoleRunner.java:69)
> Caused by: java.lang.IllegalArgumentException: Invalid number: 0xff
>at clojure.lang.LispReader.readNumber(LispReader.java:198)
>at clojure.lang.LispReader.read(LispReader.java:117)
>... 6 more
>
> I'm using OS X 10.5 (Leopard). I can't figure out how to determine the
> version of Clojure I am using from the command line, but I believe I'm
> using the latest version 20080916.
>
> Jim
>
> On Sun, Oct 5, 2008 at 6:50 PM, Vincent Foley <[EMAIL PROTECTED]> wrote:
>>
>> They seem to work fine with me:
>>
>> user=> 0xff
>> 255
>> user=> (+ 0xff 45)
>> 300
>>
>>
>> On Oct 5, 4:52 pm, "Jim Menard" <[EMAIL PROTECTED]> wrote:
>>> In the section on literals athttp://clojure.org/reader, it says,
>>> "Numbers - as per Java, plus ..."
>>>
>>> This implies to me that hex numbers like 0xff should be accepted by
>>> the reader, but they are not. Is this a bug or a misunderstanding on
>>> my part?
>>>
>>> Jim
>>> --
>>> Jim Menard, [EMAIL PROTECTED], [EMAIL PROTECTED]://www.io.com/~jimm/
>> >
>>
>
>
>
> --
> Jim Menard, [EMAIL PROTECTED], [EMAIL PROTECTED]
> http://www.io.com/~jimm/
>
> >
>



-- 
Tom Emerson
[EMAIL PROTECTED]
http://www.dreamersrealm.net/~tree

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: What "reasoner"?

2008-10-05 Thread Randall R Schulz

On Sunday 05 October 2008 14:44, Rich Hickey wrote:
> ...
>
> Looking for feedback, ideas, and participants.

As a hard-core theorem-prover guy, I'm big on full first-order logic 
with identity.

Writing an executive for our prover is what drew me to Clojure in the 
first place. I've yet to embark on this, partly for want of time and 
partly because of dithering about which language and tools to use 
(Java, Scala, SISC, Clojure, Tom, etc.)


Let me know if you're interested in a good Java-based theorem prover...


> Rich


Randall Schulz

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: Hex literals

2008-10-05 Thread Vincent Foley

They seem to work fine with me:

user=> 0xff
255
user=> (+ 0xff 45)
300


On Oct 5, 4:52 pm, "Jim Menard" <[EMAIL PROTECTED]> wrote:
> In the section on literals athttp://clojure.org/reader, it says,
> "Numbers - as per Java, plus ..."
>
> This implies to me that hex numbers like 0xff should be accepted by
> the reader, but they are not. Is this a bug or a misunderstanding on
> my part?
>
> Jim
> --
> Jim Menard, [EMAIL PROTECTED], [EMAIL PROTECTED]://www.io.com/~jimm/
--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: What "reasoner"?

2008-10-05 Thread jim

Rich,

Sometime ago I uploaded a file that implemented the logic programming
system from "The Reasoned Schemer" in Clojure.  I'm intending to
revisit that and rewrite it in idiomatic Clojure.  But first I've got
to complete the dataflow programming model I'm implementing because I
believe it will lead to a very natural implementation.  So far, I've
written an SMTP server in it I'm very pleased with the results so I'm
anxious to do the logic programming implementation.

Jim

> Yes, I was talking about Datalog and the IRIS Reasoner.
>
> The idea would be to add some declarative capabilities to Clojure.
> I've thought about adding a mini-Prolog, which is often embedded in
> Lisps, but I think Datalog is a better fit. It gives simple
> declarative rules along with a query engine that supports recursion,
> termination and set-at-a-time evaluation, making for a very nice
> embedded data query capability.
>
> I'm still trying to choose between building an interface to IRIS or
> building a Datalog implementation from scratch in Clojure.
>
> Looking for feedback, ideas, and participants.
>
> Rich
--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: Good Introductory materials to the Java ecosystem.

2008-10-05 Thread Craig McDaniel

This site provides a nice search index for those Java API docs:
http://gotapi.com
--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: What "reasoner"?

2008-10-05 Thread Rich Hickey



On Oct 4, 7:06 am, Parth Malwankar <[EMAIL PROTECTED]> wrote:
> Josip Gracin wrote:
> > Hi!
>
> > Rich, in the Boston talk you mentioned that you're considering some
> > kind of a "reasoner" (if I understood correctly) for working with
> > databases.  You also mentioned a project whose name sounded like "ios
> > reasoner".  I can't find references on anything spelled "ios
> > reasoner".  Could you tell me the actual name of the project.  Thanks!
>
> I think it was the iris-reasoner datalog, also mentioned on
> IRC here:http://clojure-log.n01se.net/date/2008-10-02.html#14:45
>
> http://iris-reasoner.org/
>

Yes, I was talking about Datalog and the IRIS Reasoner.

The idea would be to add some declarative capabilities to Clojure.
I've thought about adding a mini-Prolog, which is often embedded in
Lisps, but I think Datalog is a better fit. It gives simple
declarative rules along with a query engine that supports recursion,
termination and set-at-a-time evaluation, making for a very nice
embedded data query capability.

I'm still trying to choose between building an interface to IRIS or
building a Datalog implementation from scratch in Clojure.

Looking for feedback, ideas, and participants.

Rich

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Hex literals

2008-10-05 Thread Jim Menard

In the section on literals at http://clojure.org/reader, it says,
"Numbers - as per Java, plus ..."

This implies to me that hex numbers like 0xff should be accepted by
the reader, but they are not. Is this a bug or a misunderstanding on
my part?

Jim
-- 
Jim Menard, [EMAIL PROTECTED], [EMAIL PROTECTED]
http://www.io.com/~jimm/

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: any? function

2008-10-05 Thread Chouser

On Sun, Oct 5, 2008 at 2:55 PM, Vincent Foley <[EMAIL PROTECTED]> wrote:
>
> I was surprised to see that Clojure doesn't have an any? function.  I
> saw every?, not-every? and not-any? but no any?.  Is there a reason
> for this?

user=> (doc some)
-
clojure/some
([pred coll])
  Returns the first logical true value of (pred x) for any x in coll,
  else nil.

It's not identical to yours, as it returns whatever pred returned,
instead of always returning true.

--Chouser

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



any? function

2008-10-05 Thread Vincent Foley

Hello,

I was surprised to see that Clojure doesn't have an any? function.  I
saw every?, not-every? and not-any? but no any?.  Is there a reason
for this?

I wrote my own version, can anyone comment on it?

(defn any? [pred coll]
  (loop [xs coll]
(if (nil? xs)
  false
  (if (pred (first xs))
true
(recur (rest xs))

Vincent.

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: "No matching method" does not include class name considered

2008-10-05 Thread Rich Hickey



On Oct 4, 6:35 pm, Hans Hübner <[EMAIL PROTECTED]> wrote:
> user=> (. (String.) (blah))
> java.lang.IllegalArgumentException: No matching method found: blah
> (NO_SOURCE_FILE:0)
>
> It would be very helpful if the error message included the name of the
> class that has been considered to find the method ("String" in this
> case).  It is easy to not see what Java object a function is being
> applied to in a chain of dots and parenthesis.  The class name would
> give some cue as to where to look for the error.
>

I've added class names to the "no match" Reflector messages.

Thanks for the report,

Rich

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: Case insensitive regexp

2008-10-05 Thread Randall R Schulz

On Sunday 05 October 2008 07:55, Lauri Oherd wrote:
> How can I make regexp case insensitive?

One way is to use the option-control syntax of the source-level regular 
expression notation itself:

This is excerpted from the JavaDocs for java.util.regex.Pattern at 
:

-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
Special constructs (non-capturing)
...
(?idmsux-idmsux)Nothing, but turns match flags i d m s u x on - off
(?idmsux-idmsux:X)  X, as a non-capturing group with the given flags
   i d m s u x on - off
...
-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-


> ...
>
> Thanks,
> Lauri


Randall Schulz

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: how to call java class member's method in clojure?

2008-10-05 Thread Chouser

On Sun, Oct 5, 2008 at 10:44 AM, gerry xiao <[EMAIL PROTECTED]> wrote:
> hello to all
> newbie question:
> just like   System.out.println("hello world")
>
> how to change to clojure?

println is an instance method, so (.println instance ...)

out is a static field of System, so System/out

(.println System/out "hello world")

--Chouser

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Case insensitive regexp

2008-10-05 Thread Lauri Oherd

How can I make regexp case insensitive?
Should I use function clojure/re-pattern for that by passing it a
second argument "Pattern.CASE_INSENSITIVE" (as described in
http://www.regular-expressions.info/java.html)?

Btw I noticed that function clojure/find-doc is currently also case
sensitive:

user=> (find-doc "prints")  ; returns only one function
-
clojure/time
([expr])
Macro
  Evaluates expr and prints the time it took.  Returns the value of
 expr.
nil

user=> (find-doc "documentation for") ; .. although there are more of
them
-
clojure/doc
([name])
Macro
  Prints documentation for a var or special form given its name
-
clojure/find-doc
([re-string])
  Prints documentation for any var whose documentation or name
 contains a match for re-string
nil

Thanks,
Lauri

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



how to call java class member's method in clojure?

2008-10-05 Thread gerry xiao
hello to all
newbie question:

just like   System.out.println("hello world")

how to change to clojure?





regards

gerry

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: why the JVM?

2008-10-05 Thread Rich Hickey



On Oct 5, 1:45 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> I've watched the great introduction to Clojure (http://blip.tv/file/
> 812787). The choice of the JVM as the platform was not discussed in
> much detail (briefly touched on around the 10 minute mark) and I was
> wondering if there is anything more I can read about why the JVM was
> chosen (as opposed to some other VM.)
>

There's a bit in the rationale:

http://clojure.org/rationale

and in the latest talk:

http://groups.google.com/group/clojure/msg/fb623565c137af4c

But not necessarily contrasting with other VMs. I think there is only
one other VM with as extensive platform libraries - the .Net CLR. As
far as third-party open source support though, there's no comparison.
There are many more open source libraries and pieces of infrastructure
for the JVM than for .Net.

> Also, if the JVM gets tail calls, will Clojure get tail calls?
>

Yes - waiting hopefully!

Rich

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: Access to overloaded java method in org.jscience.physics.amount.Amount

2008-10-05 Thread markm



On Oct 4, 4:17 pm, Rich Hickey <[EMAIL PROTECTED]> wrote:

> I've hardwired the JDK 6 StringBuilder workaround to StringBuilder, so
> the JScience stuff should now work.
>
> Rich

Thanks Rich, works like a charm.
--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: swank-clojure: slime-compile-defun doesn't work

2008-10-05 Thread Matti Jagula

Hi Jeffrey,

On Sat, Oct 4, 2008 at 3:56 AM, Jeffrey Chu <[EMAIL PROTECTED]> wrote:
> On Oct 3, 5:13 pm, Alec Berryman <[EMAIL PROTECTED]> wrote:
>> When I place the point anywhere in or around a form and use C-c C-c
>> (slime-compile-defun), I see "Evaluation aborted" in my minibuffer and
>> this in *slime-events*:
> The feature is now implemented.

It seems that this feature works now, but it gives the following
warning in the minibuffer:

 error in process filter: Format specifier doesn't match argument type

with a freshly downloaded latest slime&swank-clojure on Windows. This
happens with both slime-compile-defun (C-c C-c) and
slime-compile-and-load-file (C-c C-k).

-- 
  Matti Jagula

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: Kudos

2008-10-05 Thread Rich Hickey



On Oct 4, 11:12 pm, jim <[EMAIL PROTECTED]> wrote:
> Rich,
>
> Just finished listening the Boston presentation.  I've been working
> with Clojure for a while and just wanted to say that it's a pleasure
> to use.  The mental model behind it is so consistent that most things
> just work.
>
> Kudos

Thanks!

Rich
--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



why the JVM?

2008-10-05 Thread [EMAIL PROTECTED]

Hi,

I've watched the great introduction to Clojure (http://blip.tv/file/
812787). The choice of the JVM as the platform was not discussed in
much detail (briefly touched on around the 10 minute mark) and I was
wondering if there is anything more I can read about why the JVM was
chosen (as opposed to some other VM.)

Also, if the JVM gets tail calls, will Clojure get tail calls?

Ted

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---