[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
- From: "Paul L. Snyder" <plsnyder@drexel.edu>
- To: philly-lambda@googlegroups.com
- Subject: Re: Game of life
- Date: Sun, 7 Feb 2010 14:46:33 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:received:x-beenthere:received:received:received :received:received-spf:received:received:date:from:to:subject :message-id:references:mime-version:in-reply-to:user-agent :x-original-authentication-results:x-original-sender:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :x-thread-url:x-message-url:sender:list-unsubscribe:content-type :content-disposition:content-transfer-encoding; bh=2nrF4cVkREDhQsxnHxrm+fLtSuqaXV+WzbcgpPlpfNc=; b=Z7rH32do2ndIpa6qMmh0FF/CQzvhzieXxaRSQQfKrOK7dGrI2hxMjpS7Uu3rO8RwyA jwkIREZsWHvmVADTbPU9n7SIiyiFROycvsm+6pT2M8CkR03QtWJZ3LGlrmeEeVHgN89s BRao4MW0Apdj9Ez8CRpWMsv8P6YHfCutPssmA=
- List-archive: <http://groups.google.com/group/philly-lambda?hl=en_US>
- Mailing-list: list philly-lambda@googlegroups.com; contact philly-lambda+owners@googlegroups.com
- Reply-to: philly-lambda@googlegroups.com
- Sender: philly-lambda@googlegroups.com
- User-agent: Mutt/1.5.20 (2009-06-14)
On Fri, 05 Feb 2010, Aaron Feng wrote:
> Sebastian mentioned in the previous thread about code retreat. Here's
> my implementation in Clojure:
> http://github.com/aaronfeng/game-of-life/blob/master/life.clj
>
> I think it's a pretty interesting implementation. Feedback are welcomed.
Very cool! I'm working through the Halloway book right now, so this
is great inspiration. Here's my implementation (using yours as a
starting point, Aaron). I found the map syntax you used to enable the
rule lookups to be particularly interesting.
I'm only through chapter 3, so I'm probably missing out on a lot of
idioms.
http://github.com/pataprogramming/life/blob/master/life.clj
Paul
|
|