On Mon, Jul 23, 2012 at 6:11 PM, Joe Hughes wrote:
> Denis:
>
>Thanks for the link. Looks interesting. Between it and the Euler
> Project, I should continue learning Clojure.
>
Euler is also great, but 4clojure is specifically oriented towards Clojure,
and the creators of 4clojure really t
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,
>>
>> I figured i
Hi,
On Mon, Jul 23, 2012 at 5:38 PM, Joe Hughes wrote:
> All,
>
> I figured it out. Still trying to get Functional Programming ideas in
> my head.
>
The macro defspel is not functional programming, it's dark Lisp's macro
Voodoo.
I would not advise starting Clojure with macros, you should
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.html. Typed
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
If this is your code: http://www.lisperati.com/clojure-spels/code.html
Then (spel-print (describe-paths 'living-room game-map)) will work.
spel-print takes a list that is returned from describe-paths.
/Kevin
On Mon, Dec 12, 2011 at 7:51 AM, jayvandal wrote:
> I am trying castin spels in cloju
Hello,
You'll need to include the source of the spel-print function, i.e. the
(defn spel-print ...) part of the code.
The error means that you're calling spel-print with either too many or too
few arguments. But we can't tell unless you provide the code for that
function :)
Regards,
Stuart
On 1
I am trying castin spels in clojure and I get this error. What does it
mean??
user=> (spel-print describe-paths 'living-room game-map)
java.lang.IllegalArgumentException: Wrong number of args (3) passed
to: user$spel-print (NO_SOURCE_FILE:0)
==
code is