From: Siraaj Khandkar Date: Sun, 29 Sep 2013 16:29:42 +0000 (-0400) Subject: Rename Conway to Life. X-Git-Url: https://git.xandkar.net/?p=cellular-automata.git;a=commitdiff_plain;h=029c4a1fb08156883feafa3b0d0008bf06304b88 Rename Conway to Life. --- diff --git a/polymorphism/001/src/polymorphism.ml b/polymorphism/001/src/polymorphism.ml index 6fc0ba9..3c90972 100644 --- a/polymorphism/001/src/polymorphism.ml +++ b/polymorphism/001/src/polymorphism.ml @@ -187,7 +187,7 @@ module type RULE = sig end -module Conway : RULE = struct +module Life : RULE = struct type state = D | A let state_of_string : (string -> state) = function @@ -387,7 +387,7 @@ let main () = let rows, columns = Or_error.ok_exn Linux_ext.get_terminal_size () in let interval = 0.1 in let rules = - [ (module Conway : RULE) + [ (module Life : RULE) ; (module ForestFire : RULE) ] in