> Am I "over interpreting" the meaning of the copyright clause at the top of 
> the published code ?

Yes. I hesitated to put it there but went ahead out of habit. :> I'll
either remove it or stick some minimal open source license on it.
Thanks for pointing that out.

On Mar 3, 4:53 pm, Laurent PETIT <laurent.pe...@gmail.com> wrote:
> Hello Larry,
>
> is there a reason why the code of this port of Game of Life does not seem to
> be under an open source license (e.g. EPL, etc.) ?
>
> I was interested in playing with your code, but I'm a bit reluctant when I
> see an "all rights reserved" in the top of the file ...
> It seems to me like your code is open to suggestions from others, but not
> for sharing with others ?
>
> Am I "over interpreting" the meaning of the copyright clause at the top of
> the published code ?
>
> Regards,
>
> --
> Laurent
>
> 2009/3/4 Larry Sherrill <lps...@gmail.com>
>
>
>
>
>
> > Thanks everyone for the suggestions. Very helpful.
> > - Afficher le texte des messages précédents -
>
> > On Mar 3, 2:03 pm, "Stephen C. Gilardi" <squee...@mac.com> wrote:
> > > On Mar 3, 2009, at 3:03 PM, lps540 wrote:
>
> > > > I've written a small example of Conway's Game of Life using Clojure
> > > > and Swing. Comments/critiques are welcome.
>
> > > Very nice example!
>
> > > Here's a more compact determine-new-state:
>
> > > (defn determine-new-state [x y]
> > >    (let [count (reduce + (for [dx [-1 0 1] dy [-1 0 1]]
> > >                            (if (cells [(+ x dx) (+ y dy)]) 1 0)))]
> > >      (or (and (cells [x y]) (> count 2) (< count 5))
> > >          (= count 3))))
>
> > > I'm guessing someone can make the reduce even tighter.
>
> > > I considered using :when (not (and (zero? dx) (zero? dy))) in the for
> > > expression, but it seemed simpler to account for the extra count when
> > > (cells [x y]) is true in the new state expression down below.
>
> > > --Steve
>
> > >  smime.p7s
> > > 3KViewDownload
> > - Afficher le texte des messages précédents -- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to