home
/
code
/
cellular-automata.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eba1d8b
)
Better variable names.
author
Siraaj Khandkar
<siraaj@khandkar.net>
Thu, 9 Aug 2012 06:26:49 +0000
(
02:26
-0400)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Thu, 9 Aug 2012 06:26:49 +0000
(
02:26
-0400)
003/src/life.erl
patch
|
blob
|
blame
|
history
diff --git
a/003/src/life.erl
b/003/src/life.erl
index
4f3b2e5
..
74868da
100644
(file)
--- 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) ->
-
CharList
s = array:to_list(
+
RowString
s = 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,
-
CharList
s
+
RowString
s
).
This page took
0.026762 seconds
and
4
git commands to generate.