X-Git-Url: https://git.xandkar.net/?p=cellular-automata.git;a=blobdiff_plain;f=polymorphic-life%2F001%2Fsrc%2Fpolymorphic_life.ml;h=4a289923855094250e67b9a2a1328119578eeee1;hp=7b55572331618be1fe94fccf52a65dc4b25e604d;hb=b36c0aefcdd063383fcb93863d47741d8bcc7d5a;hpb=59422e31cf4779a7fb21d205273d67e45d1f6732 diff --git a/polymorphic-life/001/src/polymorphic_life.ml b/polymorphic-life/001/src/polymorphic_life.ml index 7b55572..4a28992 100644 --- a/polymorphic-life/001/src/polymorphic_life.ml +++ b/polymorphic-life/001/src/polymorphic_life.ml @@ -97,7 +97,8 @@ module Conway : CELL = struct | A when live_neighbors < 4 -> A | A when live_neighbors > 3 -> D | D when live_neighbors = 3 -> A - | t -> t + | A -> A + | D -> D end