From: Siraaj Khandkar Date: Thu, 9 Aug 2012 06:26:49 +0000 (-0400) Subject: Better variable names. X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=1332e0c3c23643c3eeac5e3d7a64dcac4591e488;p=cellular-automata.git Better variable names. --- diff --git a/003/src/life.erl b/003/src/life.erl index 4f3b2e5..74868da 100644 --- a/003/src/life.erl +++ b/003/src/life.erl @@ -89,7 +89,7 @@ do_print_status(Bar, X, Y, N, GenCount, TimeMic, PrintTimeMic) -> do_print_board(Board) -> - CharLists = array:to_list( + RowStrings = array:to_list( array:map( fun(_, Row) -> array:to_list( @@ -106,10 +106,10 @@ do_print_board(Board) -> ), ok = lists:foreach( - fun(CharList) -> - ok = io:format("~s~n", [CharList]) + fun(RowString) -> + ok = io:format("~s~n", [RowString]) end, - CharLists + RowStrings ).