Use concrete type syntax
authorSiraaj Khandkar <siraaj@khandkar.net>
Fri, 29 Jul 2016 21:25:24 +0000 (17:25 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Fri, 29 Jul 2016 21:25:24 +0000 (17:25 -0400)
life/001/src/life_time.erl

index 204b67f..7e70a1a 100644 (file)
 
 -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.