a question about the definiton of the variable arity function in "Clojure: A Dynamic Programming Language for the JVM," by Rich Hickey

2009-05-28 Thread Benjamin L . Russell

On slide 20 of the talk "Clojure: A Dynamic Programming Language for
the JVM" (see
ftp://lispnyc.org/meeting-assets/2007-11-13_clojure/clojuretalk.pdf),
by Rich Hickey, the following function and evaluation results are
defined:

>(defn argcount
>  ([] 0)
>  ([x] 1)
>  ([x y] 2)
>  ([x y & more]
> (+ (thisfn x y) (count more
>
>(argcount 1 2 3 4 5)
>-> 5

However, when I evaluate this function in the REPL, the following
error is returned:

>java.lang.Exception: Unable to resolve symbol: thisfn in this context 
>(NO_SOURCE_FILE:6)
>  [Thrown class clojure.lang.Compiler$CompilerException]

However, no definition is given for "thisfn" in the talk.

Forgive me if I am missing something very obvious, but does anybody
know where I can find the definition of "thisfn"?

-- Benjamin L. Russell
-- 
Benjamin L. Russell  /   DekuDekuplex at Yahoo dot com
http://dekudekuplex.wordpress.com/
Translator/Interpreter / Mobile:  +011 81 80-3603-6725
"Furuike ya, kawazu tobikomu mizu no oto." 
-- Matsuo Basho^ 


--~--~-~--~~~---~--~~
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 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



How difficult would creating a collaborative multi-user online virtual world application be in Clojure?

2009-06-11 Thread Benjamin L . Russell

One question that has been coming up at the back of my mind for the
past several weeks has been how difficult would it be to create a
collaborative multi-user online virtual world application in a
semi-functional programming language, such as Clojure.

More specifically, last August, I came across a very interesting
application called Croquet (see
http://www.opencroquet.org/index.php/Main_Page), which happens to be
based on Squeak (see http://www.squeak.org/), a dialect of Smalltalk.
Croquet, in turn, provides the basis for Cobalt (see
http://www.duke.edu/~julian/Cobalt/Home.html), a "virtual workspace
browser and construction toolkit for accessing, creating, and
publishing hyperlinked multi-user virtual environments" (according to
the home page for that project).

What struck me as especially interesting was how Croquet allows
multiple users to collaborate together in a multi-user online virtual
world in software development and other collaborative projects.  As
one application, the video clip on the upper-right-hand corner of the
above-mentioned Croquet home page illustrates how a user can, by
writing code from inside the application, create on-the-fly additional
virtual environments, which can then be entered by either the
programmer or other programmers.  Other applications (shown in other
video clips on the "Screenshots/Videos" page (see
http://www.opencroquet.org/index.php/Screenshots/Videos) show
alternative applications that include text-based annotations, a 3D
spreadsheet, and writing a conventional blog from within a virtual
world.

Unfortunately, Smalltalk is an object-oriented language.  If possible,
I would like to see something similar in a more functional programming
language such as Clojure.

Does anybody know whether duplicating this project in Clojure would be
feasible?

-- Benjamin L. Russell
-- 
Benjamin L. Russell  /   DekuDekuplex at Yahoo dot com
http://dekudekuplex.wordpress.com/
Translator/Interpreter / Mobile:  +011 81 80-3603-6725
"Furuike ya, kawazu tobikomu mizu no oto." 
-- Matsuo Basho^ 
-- 
Benjamin L. Russell  /   DekuDekuplex at Yahoo dot com
http://dekudekuplex.wordpress.com/
Translator/Interpreter / Mobile:  +011 81 80-3603-6725
"Furuike ya, kawazu tobikomu mizu no oto." 
-- Matsuo Basho^ 


--~--~-~--~~~---~--~~
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 are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: Reminder: IEEE Software Issue on "Multiparadigm Programming"

2010-01-24 Thread Benjamin L. Russell
Greetings, Mr. Wampler,

Actually, I was thinking about doing a short cross-comparison of the advantages 
and disadvantages of Mozart/Oz and Scheme in multiparadigm programming in the 
textbooks SICP and CTM; however, currently, because of the economic depression, 
my company has been forced to downsize, and I am very busy in searching for 
more employment.  Therefore, I have very little time.

Is there any way that I could contribute to a future issue on this topic?  I 
probably won't have much time to write until I find additional work.

Sincerely yours,

Benjamin L. Russell

--- On Sun, 1/24/10, Dean Wampler  wrote:

> From: Dean Wampler 
> Subject: Reminder: IEEE Software Issue on "Multiparadigm Programming"
> To: "Dean Wampler" 
> Date: Sunday, January 24, 2010, 2:59 AM
> Hi,
> all,
> Apologies for duplicate notices, but I wanted to
> remind you that the 1 Feb deadline is approaching for
> submissions for our special issue of IEEE Software on
> "Multiparadigm Programming".
> 
> http://www.computer.org/portal/web/computingnow/swcfp5
> If you're interested, but you need more
> time, let me know. I'll see what I can do ;) Also, we
> need reviewers as well as submitters. Thanks for those who
> expressed interest in submitting and reviewing
> already.
> 
> Yours,Dean
> 
> -- 
> Dean Wampler
> coauthor of "Programming Scala" (O'Reilly)
> -  http://programmingscala.com
> 
> 
> twitter: @deanwampler, @chicagoscala
> 
> blog: http://blog.polyglotprogramming.com
> Chicago-Area Scala Enthusiasts (CASE):
> -  http://groups.google.com/group/chicagoscala
> 
> 
> -  http://www.meetup.com/chicagoscala/
> (Meetings)
> http://www.linkedin.com/in/deanwampler
> 
> http://www.polyglotprogramming.com
> 
> http://aquarium.rubyforge.org
> http://www.contract4j.org
> 
> 
> 
> 
> -- 
> 
> 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 are moderated - please be
> patient with your first post.
> 
> To unsubscribe from this group, send email to
> 
> clojure+unsubscr...@googlegroups.com
> 
> For more options, visit this group at
> 
> http://groups.google.com/group/clojure?hl=en

-- 
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 are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


[no subject]

2011-11-15 Thread Benjamin L. Russell
http://www.ultimateabguide.com/wp-content/themes/default/images/hello.php

-- 
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 are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en