anchor.diff:      end.
   
   -type name() :: term().
  +-type position() :: integer().
   
   -spec delete(name()) -> 'ok'.
   
  
positive.code:                 unavailable ->
                      {error, {no_process, Name}};
                  _ ->
                      case get_members(Name) of
                          [] -> {error, {no_process, Name}};
                          Members ->
                              lists:nth(NextProcessIndex, Members)
                      end
              end
      end.
  
  
negative.code:         [P, N] <- ets:match(pg2_table, {{member, Name, '$1'},'$2'}),
          _ <- lists:seq(1, N)].
  
  group_member(Name, Pos) ->
      {Members, _} = ets:match(pg2_table, {{member, Name, '$1'},'$2'}, Pos),
      Matches = [P || 
          [P, N] <- Members,
          _ <- lists:seq(1, N)],
      lists:last(Matches).
          
  
  local_group_members(Name) ->
      [P || 
          [Pid] <- ets:match(pg2_table, {{local_member, Name, '$1'}}),
  