Bar string should never be empty.
authorSiraaj Khandkar <siraaj@khandkar.net>
Thu, 9 Aug 2012 06:22:08 +0000 (02:22 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Thu, 9 Aug 2012 06:22:08 +0000 (02:22 -0400)
003/src/life.erl

index 4c71251..4f3b2e5 100644 (file)
@@ -13,7 +13,7 @@
 -record(state, {x            :: non_neg_integer()
                ,y            :: non_neg_integer()
                ,n            :: pos_integer()
-               ,bar          :: string()
+               ,bar          :: nonempty_string()
                ,board        :: array()
                ,gen_count    :: pos_integer()
                ,gen_duration :: non_neg_integer()
This page took 0.025684 seconds and 4 git commands to generate.