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:
46aacfb
)
Use concrete type syntax
author
Siraaj Khandkar
<siraaj@khandkar.net>
Fri, 29 Jul 2016 21:25:24 +0000
(17:25 -0400)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Fri, 29 Jul 2016 21:25:24 +0000
(17:25 -0400)
life/001/src/life_time.erl
patch
|
blob
|
blame
|
history
diff --git
a/life/001/src/life_time.erl
b/life/001/src/life_time.erl
index
204b67f
..
7e70a1a
100644
(file)
--- a/
life/001/src/life_time.erl
+++ b/
life/001/src/life_time.erl
@@
-26,11
+26,11
@@
-record(state, {x :: integer()
,y :: integer()
- ,cells ::
list(atom())
+ ,cells ::
[atom()]
,num_cells :: integer()
,num_dead :: integer()
,num_alive :: integer()
- ,state_pairs ::
list(tuple(integer(), integer())) | [
]
+ ,state_pairs ::
[{integer(), integer()}
]
,replies_pending :: integer()
,gen_id :: integer()
,gen_began :: erlang:timestamp()
This page took
0.020346 seconds
and
4
git commands to generate.