From: Siraaj Khandkar Date: Fri, 29 Jul 2016 21:25:24 +0000 (-0400) Subject: Use concrete type syntax X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=3dade747beb29d8a3f8dfb14c4afe54efc06d2ae;p=cellular-automata.git Use concrete type syntax --- diff --git a/life/001/src/life_time.erl b/life/001/src/life_time.erl index 204b67f..7e70a1a 100644 --- 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()