Sure, I'd be interested in porting it, would give me a reason to learn
Scala :).  Just post the code to github or something and let us know
where it's at.

On Nov 20, 10:42 pm, islon <[EMAIL PROTECTED]> wrote:
> I gave up, the resulting code would be a lot more complex than the
> scala version.
> But thanks for your advices.
>
> If anyone wants to port it I can send the source code, it's ~1000
> lines total.
>
> Islon
>
> On Nov 20, 11:38 pm, harrison clarke <[EMAIL PROTECTED]> wrote:
>
> > i was thinking that each stat would be an agent.
> > whatever boats your float, i guess. i'm probably not the person to go
> > to about idiomatic code. :V
>
> > user> (let [player {:str (agent 5)
> >               :dex (agent 5)}
> >       str (:str player)
> >       dex (:dex player)]
> >   (println @str @dex)
> >   (send str + 1)
> >   (send dex * 2)
> >   (println @str @dex)
> >   (await str dex)
> >   (println @str @dex))
> > 5 5
> > 5 5
> > 6 10
> > nil
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to