Re: Casting SPELs in Clojure

2012-07-23 Thread Joe Hughes
Denis: Thanks for the link. Looks interesting. Between it and the Euler Project, I should continue learning Clojure. Regards, Joe On Monday, July 23, 2012 10:53:56 AM UTC-5, Denis Labaye wrote: > > Hi, > > On Mon, Jul 23, 2012 at 5:38 PM, Joe Hughes wrote: > >> All

Re: Casting SPELs in Clojure

2012-07-23 Thread Joe Hughes
All, I figured it out. Still trying to get Functional Programming ideas in my head. Regards, Joe On Friday, June 29, 2012 11:11:56 AM UTC-5, Joe Hughes wrote: > > All, > > I've been playing with Clojure and found this website, > http://www.lisperati.com/clojure-spels/

Casting SPELs in Clojure

2012-07-01 Thread Joe Hughes
All, I've been playing with Clojure and found this website, http://www.lisperati.com/clojure-spels/casting.html. Typed the code into Clojure 1.4.0 and got the issue below. Here is the code in question. (defmacro defspel [& rest] `(defmacro ~@rest)) (defspel game-action [command subj obj p